Documentation

Overview

Package drive provides access to the Drive API.

For product documentation, see: https://developers.google.com/drive/

Creating a client

Usage example:

import "google.golang.org/api/drive/v2"
...
ctx := context.Background()
driveService, err := drive.NewService(ctx)

In this example, Google Application Default Credentials are used for authentication.

For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.

Other authentication options

By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:

driveService, err := drive.NewService(ctx, option.WithScopes(drive.DriveScriptsScope))

To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:

driveService, err := drive.NewService(ctx, option.WithAPIKey("AIza..."))

To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:

config := &oauth2.Config{...}
// ...
token, err := config.Exchange(ctx, ...)
driveService, err := drive.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))

See https://godoc.org/google.golang.org/api/option/ for details on options.

Index

Constants

View Source
const (
	// See, edit, create, and delete all of your Google Drive files
	DriveScope = "https://www.googleapis.com/auth/drive"

	// View and manage its own configuration data in your Google Drive
	DriveAppdataScope = "https://www.googleapis.com/auth/drive.appdata"

	// View your Google Drive apps
	DriveAppsReadonlyScope = "https://www.googleapis.com/auth/drive.apps.readonly"

	// View and manage Google Drive files and folders that you have opened
	// or created with this app
	DriveFileScope = "https://www.googleapis.com/auth/drive.file"

	// View and manage metadata of files in your Google Drive
	DriveMetadataScope = "https://www.googleapis.com/auth/drive.metadata"

	// View metadata for files in your Google Drive
	DriveMetadataReadonlyScope = "https://www.googleapis.com/auth/drive.metadata.readonly"

	// View the photos, videos and albums in your Google Photos
	DrivePhotosReadonlyScope = "https://www.googleapis.com/auth/drive.photos.readonly"

	// See and download all your Google Drive files
	DriveReadonlyScope = "https://www.googleapis.com/auth/drive.readonly"

	// Modify your Google Apps Script scripts' behavior
	DriveScriptsScope = "https://www.googleapis.com/auth/drive.scripts"
)

    OAuth2 scopes used by this API.

    Variables

    This section is empty.

    Functions

    This section is empty.

    Types

    type About

    type About struct {
    	// AdditionalRoleInfo: Information about supported additional roles per
    	// file type. The most specific type takes precedence.
    	AdditionalRoleInfo []*AboutAdditionalRoleInfo `json:"additionalRoleInfo,omitempty"`
    
    	// CanCreateDrives: Whether the user can create shared drives.
    	CanCreateDrives bool `json:"canCreateDrives,omitempty"`
    
    	// CanCreateTeamDrives: Deprecated - use canCreateDrives instead.
    	CanCreateTeamDrives bool `json:"canCreateTeamDrives,omitempty"`
    
    	// DomainSharingPolicy: The domain sharing policy for the current user.
    	// Possible values are:
    	// - allowed
    	// - allowedWithWarning
    	// - incomingOnly
    	// - disallowed
    	DomainSharingPolicy string `json:"domainSharingPolicy,omitempty"`
    
    	// DriveThemes: A list of themes that are supported for shared drives.
    	DriveThemes []*AboutDriveThemes `json:"driveThemes,omitempty"`
    
    	// Etag: The ETag of the item.
    	Etag string `json:"etag,omitempty"`
    
    	// ExportFormats: The allowable export formats.
    	ExportFormats []*AboutExportFormats `json:"exportFormats,omitempty"`
    
    	// Features: List of additional features enabled on this account.
    	Features []*AboutFeatures `json:"features,omitempty"`
    
    	// FolderColorPalette: The palette of allowable folder colors as RGB hex
    	// strings.
    	FolderColorPalette []string `json:"folderColorPalette,omitempty"`
    
    	// ImportFormats: The allowable import formats.
    	ImportFormats []*AboutImportFormats `json:"importFormats,omitempty"`
    
    	// IsCurrentAppInstalled: A boolean indicating whether the authenticated
    	// app is installed by the authenticated user.
    	IsCurrentAppInstalled bool `json:"isCurrentAppInstalled,omitempty"`
    
    	// Kind: This is always drive#about.
    	Kind string `json:"kind,omitempty"`
    
    	// LanguageCode: The user's language or locale code, as defined by BCP
    	// 47, with some extensions from Unicode's LDML format
    	// (http://www.unicode.org/reports/tr35/).
    	LanguageCode string `json:"languageCode,omitempty"`
    
    	// LargestChangeId: The largest change id.
    	LargestChangeId int64 `json:"largestChangeId,omitempty,string"`
    
    	// MaxUploadSizes: List of max upload sizes for each file type. The most
    	// specific type takes precedence.
    	MaxUploadSizes []*AboutMaxUploadSizes `json:"maxUploadSizes,omitempty"`
    
    	// Name: The name of the current user.
    	Name string `json:"name,omitempty"`
    
    	// PermissionId: The current user's ID as visible in the permissions
    	// collection.
    	PermissionId string `json:"permissionId,omitempty"`
    
    	// QuotaBytesByService: The amount of storage quota used by different
    	// Google services.
    	QuotaBytesByService []*AboutQuotaBytesByService `json:"quotaBytesByService,omitempty"`
    
    	// QuotaBytesTotal: The total number of quota bytes. This is only
    	// relevant when quotaType is LIMITED.
    	QuotaBytesTotal int64 `json:"quotaBytesTotal,omitempty,string"`
    
    	// QuotaBytesUsed: The number of quota bytes used by Google Drive.
    	QuotaBytesUsed int64 `json:"quotaBytesUsed,omitempty,string"`
    
    	// QuotaBytesUsedAggregate: The number of quota bytes used by all Google
    	// apps (Drive, Picasa, etc.).
    	QuotaBytesUsedAggregate int64 `json:"quotaBytesUsedAggregate,omitempty,string"`
    
    	// QuotaBytesUsedInTrash: The number of quota bytes used by trashed
    	// items.
    	QuotaBytesUsedInTrash int64 `json:"quotaBytesUsedInTrash,omitempty,string"`
    
    	// QuotaType: The type of the user's storage quota. Possible values are:
    	//
    	// - LIMITED
    	// - UNLIMITED
    	QuotaType string `json:"quotaType,omitempty"`
    
    	// RemainingChangeIds: The number of remaining change ids, limited to no
    	// more than 2500.
    	RemainingChangeIds int64 `json:"remainingChangeIds,omitempty,string"`
    
    	// RootFolderId: The id of the root folder.
    	RootFolderId string `json:"rootFolderId,omitempty"`
    
    	// SelfLink: A link back to this item.
    	SelfLink string `json:"selfLink,omitempty"`
    
    	// TeamDriveThemes: Deprecated - use driveThemes instead.
    	TeamDriveThemes []*AboutTeamDriveThemes `json:"teamDriveThemes,omitempty"`
    
    	// User: The authenticated user.
    	User *User `json:"user,omitempty"`
    
    	// ServerResponse contains the HTTP response code and headers from the
    	// server.
    	googleapi.ServerResponse `json:"-"`
    
    	// ForceSendFields is a list of field names (e.g. "AdditionalRoleInfo")
    	// to unconditionally include in API requests. By default, fields with
    	// empty values are omitted from API requests. However, any non-pointer,
    	// non-interface field appearing in ForceSendFields will be sent to the
    	// server regardless of whether the field is empty or not. This may be
    	// used to include empty fields in Patch requests.
    	ForceSendFields []string `json:"-"`
    
    	// NullFields is a list of field names (e.g. "AdditionalRoleInfo") to
    	// include in API requests with the JSON null value. By default, fields
    	// with empty values are omitted from API requests. However, any field
    	// with an empty value appearing in NullFields will be sent to the
    	// server as null. It is an error if a field in this list has a
    	// non-empty value. This may be used to include null fields in Patch
    	// requests.
    	NullFields []string `json:"-"`
    }

      About: An item with user information and settings.

      func (*About) MarshalJSON

      func (s *About) MarshalJSON() ([]byte, error)

      type AboutAdditionalRoleInfo

      type AboutAdditionalRoleInfo struct {
      	// RoleSets: The supported additional roles per primary role.
      	RoleSets []*AboutAdditionalRoleInfoRoleSets `json:"roleSets,omitempty"`
      
      	// Type: The content type that this additional role info applies to.
      	Type string `json:"type,omitempty"`
      
      	// ForceSendFields is a list of field names (e.g. "RoleSets") to
      	// unconditionally include in API requests. By default, fields with
      	// empty values are omitted from API requests. However, any non-pointer,
      	// non-interface field appearing in ForceSendFields will be sent to the
      	// server regardless of whether the field is empty or not. This may be
      	// used to include empty fields in Patch requests.
      	ForceSendFields []string `json:"-"`
      
      	// NullFields is a list of field names (e.g. "RoleSets") to include in
      	// API requests with the JSON null value. By default, fields with empty
      	// values are omitted from API requests. However, any field with an
      	// empty value appearing in NullFields will be sent to the server as
      	// null. It is an error if a field in this list has a non-empty value.
      	// This may be used to include null fields in Patch requests.
      	NullFields []string `json:"-"`
      }

      func (*AboutAdditionalRoleInfo) MarshalJSON

      func (s *AboutAdditionalRoleInfo) MarshalJSON() ([]byte, error)

      type AboutAdditionalRoleInfoRoleSets

      type AboutAdditionalRoleInfoRoleSets struct {
      	// AdditionalRoles: The supported additional roles with the primary
      	// role.
      	AdditionalRoles []string `json:"additionalRoles,omitempty"`
      
      	// PrimaryRole: A primary permission role.
      	PrimaryRole string `json:"primaryRole,omitempty"`
      
      	// ForceSendFields is a list of field names (e.g. "AdditionalRoles") to
      	// unconditionally include in API requests. By default, fields with
      	// empty values are omitted from API requests. However, any non-pointer,
      	// non-interface field appearing in ForceSendFields will be sent to the
      	// server regardless of whether the field is empty or not. This may be
      	// used to include empty fields in Patch requests.
      	ForceSendFields []string `json:"-"`
      
      	// NullFields is a list of field names (e.g. "AdditionalRoles") to
      	// include in API requests with the JSON null value. By default, fields
      	// with empty values are omitted from API requests. However, any field
      	// with an empty value appearing in NullFields will be sent to the
      	// server as null. It is an error if a field in this list has a
      	// non-empty value. This may be used to include null fields in Patch
      	// requests.
      	NullFields []string `json:"-"`
      }

      func (*AboutAdditionalRoleInfoRoleSets) MarshalJSON

      func (s *AboutAdditionalRoleInfoRoleSets) MarshalJSON() ([]byte, error)

      type AboutDriveThemes

      type AboutDriveThemes struct {
      	// BackgroundImageLink: A link to this theme's background image.
      	BackgroundImageLink string `json:"backgroundImageLink,omitempty"`
      
      	// ColorRgb: The color of this theme as an RGB hex string.
      	ColorRgb string `json:"colorRgb,omitempty"`
      
      	// Id: The ID of the theme.
      	Id string `json:"id,omitempty"`
      
      	// ForceSendFields is a list of field names (e.g. "BackgroundImageLink")
      	// to unconditionally include in API requests. By default, fields with
      	// empty values are omitted from API requests. However, any non-pointer,
      	// non-interface field appearing in ForceSendFields will be sent to the
      	// server regardless of whether the field is empty or not. This may be
      	// used to include empty fields in Patch requests.
      	ForceSendFields []string `json:"-"`
      
      	// NullFields is a list of field names (e.g. "BackgroundImageLink") to
      	// include in API requests with the JSON null value. By default, fields
      	// with empty values are omitted from API requests. However, any field
      	// with an empty value appearing in NullFields will be sent to the
      	// server as null. It is an error if a field in this list has a
      	// non-empty value. This may be used to include null fields in Patch
      	// requests.
      	NullFields []string `json:"-"`
      }

      func (*AboutDriveThemes) MarshalJSON

      func (s *AboutDriveThemes) MarshalJSON() ([]byte, error)

      type AboutExportFormats

      type AboutExportFormats struct {
      	// Source: The content type to convert from.
      	Source string `json:"source,omitempty"`
      
      	// Targets: The possible content types to convert to.
      	Targets []string `json:"targets,omitempty"`
      
      	// ForceSendFields is a list of field names (e.g. "Source") to
      	// unconditionally include in API requests. By default, fields with
      	// empty values are omitted from API requests. However, any non-pointer,
      	// non-interface field appearing in ForceSendFields will be sent to the
      	// server regardless of whether the field is empty or not. This may be
      	// used to include empty fields in Patch requests.
      	ForceSendFields []string `json:"-"`
      
      	// NullFields is a list of field names (e.g. "Source") to include in API
      	// requests with the JSON null value. By default, fields with empty
      	// values are omitted from API requests. However, any field with an
      	// empty value appearing in NullFields will be sent to the server as
      	// null. It is an error if a field in this list has a non-empty value.
      	// This may be used to include null fields in Patch requests.
      	NullFields []string `json:"-"`
      }

      func (*AboutExportFormats) MarshalJSON

      func (s *AboutExportFormats) MarshalJSON() ([]byte, error)

      type AboutFeatures

      type AboutFeatures struct {
      	// FeatureName: The name of the feature.
      	FeatureName string `json:"featureName,omitempty"`
      
      	// FeatureRate: The request limit rate for this feature, in queries per
      	// second.
      	FeatureRate float64 `json:"featureRate,omitempty"`
      
      	// ForceSendFields is a list of field names (e.g. "FeatureName") to
      	// unconditionally include in API requests. By default, fields with
      	// empty values are omitted from API requests. However, any non-pointer,
      	// non-interface field appearing in ForceSendFields will be sent to the
      	// server regardless of whether the field is empty or not. This may be
      	// used to include empty fields in Patch requests.
      	ForceSendFields []string `json:"-"`
      
      	// NullFields is a list of field names (e.g. "FeatureName") to include
      	// in API requests with the JSON null value. By default, fields with
      	// empty values are omitted from API requests. However, any field with
      	// an empty value appearing in NullFields will be sent to the server as
      	// null. It is an error if a field in this list has a non-empty value.
      	// This may be used to include null fields in Patch requests.
      	NullFields []string `json:"-"`
      }

      func (*AboutFeatures) MarshalJSON

      func (s *AboutFeatures) MarshalJSON() ([]byte, error)

      func (*AboutFeatures) UnmarshalJSON

      func (s *AboutFeatures) UnmarshalJSON(data []byte) error

      type AboutGetCall

      type AboutGetCall struct {
      	// contains filtered or unexported fields
      }

      func (*AboutGetCall) Context

      func (c *AboutGetCall) Context(ctx context.Context) *AboutGetCall

        Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

        func (*AboutGetCall) Do

        func (c *AboutGetCall) Do(opts ...googleapi.CallOption) (*About, error)

          Do executes the "drive.about.get" call. Exactly one of *About or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *About.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

          func (*AboutGetCall) Fields

          func (c *AboutGetCall) Fields(s ...googleapi.Field) *AboutGetCall

            Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

            func (*AboutGetCall) Header

            func (c *AboutGetCall) Header() http.Header

              Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

              func (*AboutGetCall) IfNoneMatch

              func (c *AboutGetCall) IfNoneMatch(entityTag string) *AboutGetCall

                IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                func (*AboutGetCall) IncludeSubscribed

                func (c *AboutGetCall) IncludeSubscribed(includeSubscribed bool) *AboutGetCall

                  IncludeSubscribed sets the optional parameter "includeSubscribed": Whether to count changes outside the My Drive hierarchy. When set to false, changes to files such as those in the Application Data folder or shared files which have not been added to My Drive will be omitted from the maxChangeIdCount.

                  func (*AboutGetCall) MaxChangeIdCount

                  func (c *AboutGetCall) MaxChangeIdCount(maxChangeIdCount int64) *AboutGetCall

                    MaxChangeIdCount sets the optional parameter "maxChangeIdCount": Maximum number of remaining change IDs to count

                    func (*AboutGetCall) StartChangeId

                    func (c *AboutGetCall) StartChangeId(startChangeId int64) *AboutGetCall

                      StartChangeId sets the optional parameter "startChangeId": Change ID to start counting from when calculating number of remaining change IDs

                      type AboutImportFormats

                      type AboutImportFormats struct {
                      	// Source: The imported file's content type to convert from.
                      	Source string `json:"source,omitempty"`
                      
                      	// Targets: The possible content types to convert to.
                      	Targets []string `json:"targets,omitempty"`
                      
                      	// ForceSendFields is a list of field names (e.g. "Source") to
                      	// unconditionally include in API requests. By default, fields with
                      	// empty values are omitted from API requests. However, any non-pointer,
                      	// non-interface field appearing in ForceSendFields will be sent to the
                      	// server regardless of whether the field is empty or not. This may be
                      	// used to include empty fields in Patch requests.
                      	ForceSendFields []string `json:"-"`
                      
                      	// NullFields is a list of field names (e.g. "Source") to include in API
                      	// requests with the JSON null value. By default, fields with empty
                      	// values are omitted from API requests. However, any field with an
                      	// empty value appearing in NullFields will be sent to the server as
                      	// null. It is an error if a field in this list has a non-empty value.
                      	// This may be used to include null fields in Patch requests.
                      	NullFields []string `json:"-"`
                      }

                      func (*AboutImportFormats) MarshalJSON

                      func (s *AboutImportFormats) MarshalJSON() ([]byte, error)

                      type AboutMaxUploadSizes

                      type AboutMaxUploadSizes struct {
                      	// Size: The max upload size for this type.
                      	Size int64 `json:"size,omitempty,string"`
                      
                      	// Type: The file type.
                      	Type string `json:"type,omitempty"`
                      
                      	// ForceSendFields is a list of field names (e.g. "Size") to
                      	// unconditionally include in API requests. By default, fields with
                      	// empty values are omitted from API requests. However, any non-pointer,
                      	// non-interface field appearing in ForceSendFields will be sent to the
                      	// server regardless of whether the field is empty or not. This may be
                      	// used to include empty fields in Patch requests.
                      	ForceSendFields []string `json:"-"`
                      
                      	// NullFields is a list of field names (e.g. "Size") to include in API
                      	// requests with the JSON null value. By default, fields with empty
                      	// values are omitted from API requests. However, any field with an
                      	// empty value appearing in NullFields will be sent to the server as
                      	// null. It is an error if a field in this list has a non-empty value.
                      	// This may be used to include null fields in Patch requests.
                      	NullFields []string `json:"-"`
                      }

                      func (*AboutMaxUploadSizes) MarshalJSON

                      func (s *AboutMaxUploadSizes) MarshalJSON() ([]byte, error)

                      type AboutQuotaBytesByService

                      type AboutQuotaBytesByService struct {
                      	// BytesUsed: The storage quota bytes used by the service.
                      	BytesUsed int64 `json:"bytesUsed,omitempty,string"`
                      
                      	// ServiceName: The service's name, e.g. DRIVE, GMAIL, or PHOTOS.
                      	ServiceName string `json:"serviceName,omitempty"`
                      
                      	// ForceSendFields is a list of field names (e.g. "BytesUsed") to
                      	// unconditionally include in API requests. By default, fields with
                      	// empty values are omitted from API requests. However, any non-pointer,
                      	// non-interface field appearing in ForceSendFields will be sent to the
                      	// server regardless of whether the field is empty or not. This may be
                      	// used to include empty fields in Patch requests.
                      	ForceSendFields []string `json:"-"`
                      
                      	// NullFields is a list of field names (e.g. "BytesUsed") to include in
                      	// API requests with the JSON null value. By default, fields with empty
                      	// values are omitted from API requests. However, any field with an
                      	// empty value appearing in NullFields will be sent to the server as
                      	// null. It is an error if a field in this list has a non-empty value.
                      	// This may be used to include null fields in Patch requests.
                      	NullFields []string `json:"-"`
                      }

                      func (*AboutQuotaBytesByService) MarshalJSON

                      func (s *AboutQuotaBytesByService) MarshalJSON() ([]byte, error)

                      type AboutService

                      type AboutService struct {
                      	// contains filtered or unexported fields
                      }

                      func NewAboutService

                      func NewAboutService(s *Service) *AboutService

                      func (*AboutService) Get

                      func (r *AboutService) Get() *AboutGetCall

                        Get: Gets the information about the current user along with Drive API settings

                        type AboutTeamDriveThemes

                        type AboutTeamDriveThemes struct {
                        	// BackgroundImageLink: Deprecated - use driveThemes/backgroundImageLink
                        	// instead.
                        	BackgroundImageLink string `json:"backgroundImageLink,omitempty"`
                        
                        	// ColorRgb: Deprecated - use driveThemes/colorRgb instead.
                        	ColorRgb string `json:"colorRgb,omitempty"`
                        
                        	// Id: Deprecated - use driveThemes/id instead.
                        	Id string `json:"id,omitempty"`
                        
                        	// ForceSendFields is a list of field names (e.g. "BackgroundImageLink")
                        	// to unconditionally include in API requests. By default, fields with
                        	// empty values are omitted from API requests. However, any non-pointer,
                        	// non-interface field appearing in ForceSendFields will be sent to the
                        	// server regardless of whether the field is empty or not. This may be
                        	// used to include empty fields in Patch requests.
                        	ForceSendFields []string `json:"-"`
                        
                        	// NullFields is a list of field names (e.g. "BackgroundImageLink") to
                        	// include in API requests with the JSON null value. By default, fields
                        	// with empty values are omitted from API requests. However, any field
                        	// with an empty value appearing in NullFields will be sent to the
                        	// server as null. It is an error if a field in this list has a
                        	// non-empty value. This may be used to include null fields in Patch
                        	// requests.
                        	NullFields []string `json:"-"`
                        }

                        func (*AboutTeamDriveThemes) MarshalJSON

                        func (s *AboutTeamDriveThemes) MarshalJSON() ([]byte, error)

                        type App

                        type App struct {
                        	// Authorized: Whether the app is authorized to access data on the
                        	// user's Drive.
                        	Authorized bool `json:"authorized,omitempty"`
                        
                        	// CreateInFolderTemplate: The template url to create a new file with
                        	// this app in a given folder. The template will contain {folderId} to
                        	// be replaced by the folder to create the new file in.
                        	CreateInFolderTemplate string `json:"createInFolderTemplate,omitempty"`
                        
                        	// CreateUrl: The url to create a new file with this app.
                        	CreateUrl string `json:"createUrl,omitempty"`
                        
                        	// HasDriveWideScope: Whether the app has drive-wide scope. An app with
                        	// drive-wide scope can access all files in the user's drive.
                        	HasDriveWideScope bool `json:"hasDriveWideScope,omitempty"`
                        
                        	// Icons: The various icons for the app.
                        	Icons []*AppIcons `json:"icons,omitempty"`
                        
                        	// Id: The ID of the app.
                        	Id string `json:"id,omitempty"`
                        
                        	// Installed: Whether the app is installed.
                        	Installed bool `json:"installed,omitempty"`
                        
                        	// Kind: This is always drive#app.
                        	Kind string `json:"kind,omitempty"`
                        
                        	// LongDescription: A long description of the app.
                        	LongDescription string `json:"longDescription,omitempty"`
                        
                        	// Name: The name of the app.
                        	Name string `json:"name,omitempty"`
                        
                        	// ObjectType: The type of object this app creates (e.g. Chart). If
                        	// empty, the app name should be used instead.
                        	ObjectType string `json:"objectType,omitempty"`
                        
                        	// OpenUrlTemplate: The template url for opening files with this app.
                        	// The template will contain {ids} and/or {exportIds} to be replaced by
                        	// the actual file ids. See  Open Files  for the full documentation.
                        	OpenUrlTemplate string `json:"openUrlTemplate,omitempty"`
                        
                        	// PrimaryFileExtensions: The list of primary file extensions.
                        	PrimaryFileExtensions []string `json:"primaryFileExtensions,omitempty"`
                        
                        	// PrimaryMimeTypes: The list of primary mime types.
                        	PrimaryMimeTypes []string `json:"primaryMimeTypes,omitempty"`
                        
                        	// ProductId: The ID of the product listing for this app.
                        	ProductId string `json:"productId,omitempty"`
                        
                        	// ProductUrl: A link to the product listing for this app.
                        	ProductUrl string `json:"productUrl,omitempty"`
                        
                        	// SecondaryFileExtensions: The list of secondary file extensions.
                        	SecondaryFileExtensions []string `json:"secondaryFileExtensions,omitempty"`
                        
                        	// SecondaryMimeTypes: The list of secondary mime types.
                        	SecondaryMimeTypes []string `json:"secondaryMimeTypes,omitempty"`
                        
                        	// ShortDescription: A short description of the app.
                        	ShortDescription string `json:"shortDescription,omitempty"`
                        
                        	// SupportsCreate: Whether this app supports creating new objects.
                        	SupportsCreate bool `json:"supportsCreate,omitempty"`
                        
                        	// SupportsImport: Whether this app supports importing Google Docs.
                        	SupportsImport bool `json:"supportsImport,omitempty"`
                        
                        	// SupportsMultiOpen: Whether this app supports opening more than one
                        	// file.
                        	SupportsMultiOpen bool `json:"supportsMultiOpen,omitempty"`
                        
                        	// SupportsOfflineCreate: Whether this app supports creating new files
                        	// when offline.
                        	SupportsOfflineCreate bool `json:"supportsOfflineCreate,omitempty"`
                        
                        	// UseByDefault: Whether the app is selected as the default handler for
                        	// the types it supports.
                        	UseByDefault bool `json:"useByDefault,omitempty"`
                        
                        	// ServerResponse contains the HTTP response code and headers from the
                        	// server.
                        	googleapi.ServerResponse `json:"-"`
                        
                        	// ForceSendFields is a list of field names (e.g. "Authorized") to
                        	// unconditionally include in API requests. By default, fields with
                        	// empty values are omitted from API requests. However, any non-pointer,
                        	// non-interface field appearing in ForceSendFields will be sent to the
                        	// server regardless of whether the field is empty or not. This may be
                        	// used to include empty fields in Patch requests.
                        	ForceSendFields []string `json:"-"`
                        
                        	// NullFields is a list of field names (e.g. "Authorized") to include in
                        	// API requests with the JSON null value. By default, fields with empty
                        	// values are omitted from API requests. However, any field with an
                        	// empty value appearing in NullFields will be sent to the server as
                        	// null. It is an error if a field in this list has a non-empty value.
                        	// This may be used to include null fields in Patch requests.
                        	NullFields []string `json:"-"`
                        }

                          App: The apps resource provides a list of the apps that a user has installed, with information about each app's supported MIME types, file extensions, and other details.

                          func (*App) MarshalJSON

                          func (s *App) MarshalJSON() ([]byte, error)

                          type AppIcons

                          type AppIcons struct {
                          	// Category: Category of the icon. Allowed values are:
                          	// - application - icon for the application
                          	// - document - icon for a file associated with the app
                          	// - documentShared - icon for a shared file associated with the app
                          	Category string `json:"category,omitempty"`
                          
                          	// IconUrl: URL for the icon.
                          	IconUrl string `json:"iconUrl,omitempty"`
                          
                          	// Size: Size of the icon. Represented as the maximum of the width and
                          	// height.
                          	Size int64 `json:"size,omitempty"`
                          
                          	// ForceSendFields is a list of field names (e.g. "Category") to
                          	// unconditionally include in API requests. By default, fields with
                          	// empty values are omitted from API requests. However, any non-pointer,
                          	// non-interface field appearing in ForceSendFields will be sent to the
                          	// server regardless of whether the field is empty or not. This may be
                          	// used to include empty fields in Patch requests.
                          	ForceSendFields []string `json:"-"`
                          
                          	// NullFields is a list of field names (e.g. "Category") to include in
                          	// API requests with the JSON null value. By default, fields with empty
                          	// values are omitted from API requests. However, any field with an
                          	// empty value appearing in NullFields will be sent to the server as
                          	// null. It is an error if a field in this list has a non-empty value.
                          	// This may be used to include null fields in Patch requests.
                          	NullFields []string `json:"-"`
                          }

                          func (*AppIcons) MarshalJSON

                          func (s *AppIcons) MarshalJSON() ([]byte, error)

                          type AppList

                          type AppList struct {
                          	// DefaultAppIds: List of app IDs that the user has specified to use by
                          	// default. The list is in reverse-priority order (lowest to highest).
                          	DefaultAppIds []string `json:"defaultAppIds,omitempty"`
                          
                          	// Etag: The ETag of the list.
                          	Etag string `json:"etag,omitempty"`
                          
                          	// Items: The list of apps.
                          	Items []*App `json:"items,omitempty"`
                          
                          	// Kind: This is always drive#appList.
                          	Kind string `json:"kind,omitempty"`
                          
                          	// SelfLink: A link back to this list.
                          	SelfLink string `json:"selfLink,omitempty"`
                          
                          	// ServerResponse contains the HTTP response code and headers from the
                          	// server.
                          	googleapi.ServerResponse `json:"-"`
                          
                          	// ForceSendFields is a list of field names (e.g. "DefaultAppIds") to
                          	// unconditionally include in API requests. By default, fields with
                          	// empty values are omitted from API requests. However, any non-pointer,
                          	// non-interface field appearing in ForceSendFields will be sent to the
                          	// server regardless of whether the field is empty or not. This may be
                          	// used to include empty fields in Patch requests.
                          	ForceSendFields []string `json:"-"`
                          
                          	// NullFields is a list of field names (e.g. "DefaultAppIds") to include
                          	// in API requests with the JSON null value. By default, fields with
                          	// empty values are omitted from API requests. However, any field with
                          	// an empty value appearing in NullFields will be sent to the server as
                          	// null. It is an error if a field in this list has a non-empty value.
                          	// This may be used to include null fields in Patch requests.
                          	NullFields []string `json:"-"`
                          }

                            AppList: A list of third-party applications which the user has installed or given access to Google Drive.

                            func (*AppList) MarshalJSON

                            func (s *AppList) MarshalJSON() ([]byte, error)

                            type AppsGetCall

                            type AppsGetCall struct {
                            	// contains filtered or unexported fields
                            }

                            func (*AppsGetCall) Context

                            func (c *AppsGetCall) Context(ctx context.Context) *AppsGetCall

                              Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                              func (*AppsGetCall) Do

                              func (c *AppsGetCall) Do(opts ...googleapi.CallOption) (*App, error)

                                Do executes the "drive.apps.get" call. Exactly one of *App or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *App.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                func (*AppsGetCall) Fields

                                func (c *AppsGetCall) Fields(s ...googleapi.Field) *AppsGetCall

                                  Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                  func (*AppsGetCall) Header

                                  func (c *AppsGetCall) Header() http.Header

                                    Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                    func (*AppsGetCall) IfNoneMatch

                                    func (c *AppsGetCall) IfNoneMatch(entityTag string) *AppsGetCall

                                      IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                      type AppsListCall

                                      type AppsListCall struct {
                                      	// contains filtered or unexported fields
                                      }

                                      func (*AppsListCall) AppFilterExtensions

                                      func (c *AppsListCall) AppFilterExtensions(appFilterExtensions string) *AppsListCall

                                        AppFilterExtensions sets the optional parameter "appFilterExtensions": A comma-separated list of file extensions for open with filtering. All apps within the given app query scope which can open any of the given file extensions will be included in the response. If appFilterMimeTypes are provided as well, the result is a union of the two resulting app lists.

                                        func (*AppsListCall) AppFilterMimeTypes

                                        func (c *AppsListCall) AppFilterMimeTypes(appFilterMimeTypes string) *AppsListCall

                                          AppFilterMimeTypes sets the optional parameter "appFilterMimeTypes": A comma-separated list of MIME types for open with filtering. All apps within the given app query scope which can open any of the given MIME types will be included in the response. If appFilterExtensions are provided as well, the result is a union of the two resulting app lists.

                                          func (*AppsListCall) Context

                                          func (c *AppsListCall) Context(ctx context.Context) *AppsListCall

                                            Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                            func (*AppsListCall) Do

                                            func (c *AppsListCall) Do(opts ...googleapi.CallOption) (*AppList, error)

                                              Do executes the "drive.apps.list" call. Exactly one of *AppList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AppList.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                              func (*AppsListCall) Fields

                                              func (c *AppsListCall) Fields(s ...googleapi.Field) *AppsListCall

                                                Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                func (*AppsListCall) Header

                                                func (c *AppsListCall) Header() http.Header

                                                  Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                  func (*AppsListCall) IfNoneMatch

                                                  func (c *AppsListCall) IfNoneMatch(entityTag string) *AppsListCall

                                                    IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                    func (*AppsListCall) LanguageCode

                                                    func (c *AppsListCall) LanguageCode(languageCode string) *AppsListCall

                                                      LanguageCode sets the optional parameter "languageCode": A language or locale code, as defined by BCP 47, with some extensions from Unicode's LDML format (http://www.unicode.org/reports/tr35/).

                                                      type AppsService

                                                      type AppsService struct {
                                                      	// contains filtered or unexported fields
                                                      }

                                                      func NewAppsService

                                                      func NewAppsService(s *Service) *AppsService

                                                      func (*AppsService) Get

                                                      func (r *AppsService) Get(appId string) *AppsGetCall

                                                        Get: Gets a specific app.

                                                        func (*AppsService) List

                                                        func (r *AppsService) List() *AppsListCall

                                                          List: Lists a user's installed apps.

                                                          type Change

                                                          type Change struct {
                                                          	// ChangeType: The type of the change. Possible values are file and
                                                          	// drive.
                                                          	ChangeType string `json:"changeType,omitempty"`
                                                          
                                                          	// Deleted: Whether the file or shared drive has been removed from this
                                                          	// list of changes, for example by deletion or loss of access.
                                                          	Deleted bool `json:"deleted,omitempty"`
                                                          
                                                          	// Drive: The updated state of the shared drive. Present if the
                                                          	// changeType is drive, the user is still a member of the shared drive,
                                                          	// and the shared drive has not been deleted.
                                                          	Drive *Drive `json:"drive,omitempty"`
                                                          
                                                          	// DriveId: The ID of the shared drive associated with this change.
                                                          	DriveId string `json:"driveId,omitempty"`
                                                          
                                                          	// File: The updated state of the file. Present if the type is file and
                                                          	// the file has not been removed from this list of changes.
                                                          	File *File `json:"file,omitempty"`
                                                          
                                                          	// FileId: The ID of the file associated with this change.
                                                          	FileId string `json:"fileId,omitempty"`
                                                          
                                                          	// Id: The ID of the change.
                                                          	Id int64 `json:"id,omitempty,string"`
                                                          
                                                          	// Kind: This is always drive#change.
                                                          	Kind string `json:"kind,omitempty"`
                                                          
                                                          	// ModificationDate: The time of this modification.
                                                          	ModificationDate string `json:"modificationDate,omitempty"`
                                                          
                                                          	// SelfLink: A link back to this change.
                                                          	SelfLink string `json:"selfLink,omitempty"`
                                                          
                                                          	// TeamDrive: Deprecated - use drive instead.
                                                          	TeamDrive *TeamDrive `json:"teamDrive,omitempty"`
                                                          
                                                          	// TeamDriveId: Deprecated - use driveId instead.
                                                          	TeamDriveId string `json:"teamDriveId,omitempty"`
                                                          
                                                          	// Type: Deprecated - use changeType instead.
                                                          	Type string `json:"type,omitempty"`
                                                          
                                                          	// ServerResponse contains the HTTP response code and headers from the
                                                          	// server.
                                                          	googleapi.ServerResponse `json:"-"`
                                                          
                                                          	// ForceSendFields is a list of field names (e.g. "ChangeType") to
                                                          	// unconditionally include in API requests. By default, fields with
                                                          	// empty values are omitted from API requests. However, any non-pointer,
                                                          	// non-interface field appearing in ForceSendFields will be sent to the
                                                          	// server regardless of whether the field is empty or not. This may be
                                                          	// used to include empty fields in Patch requests.
                                                          	ForceSendFields []string `json:"-"`
                                                          
                                                          	// NullFields is a list of field names (e.g. "ChangeType") to include in
                                                          	// API requests with the JSON null value. By default, fields with empty
                                                          	// values are omitted from API requests. However, any field with an
                                                          	// empty value appearing in NullFields will be sent to the server as
                                                          	// null. It is an error if a field in this list has a non-empty value.
                                                          	// This may be used to include null fields in Patch requests.
                                                          	NullFields []string `json:"-"`
                                                          }

                                                            Change: Representation of a change to a file or shared drive.

                                                            func (*Change) MarshalJSON

                                                            func (s *Change) MarshalJSON() ([]byte, error)

                                                            type ChangeList

                                                            type ChangeList struct {
                                                            	// Etag: The ETag of the list.
                                                            	Etag string `json:"etag,omitempty"`
                                                            
                                                            	// Items: The list of changes. If nextPageToken is populated, then this
                                                            	// list may be incomplete and an additional page of results should be
                                                            	// fetched.
                                                            	Items []*Change `json:"items,omitempty"`
                                                            
                                                            	// Kind: This is always drive#changeList.
                                                            	Kind string `json:"kind,omitempty"`
                                                            
                                                            	// LargestChangeId: The current largest change ID.
                                                            	LargestChangeId int64 `json:"largestChangeId,omitempty,string"`
                                                            
                                                            	// NewStartPageToken: The starting page token for future changes. This
                                                            	// will be present only if the end of the current changes list has been
                                                            	// reached.
                                                            	NewStartPageToken string `json:"newStartPageToken,omitempty"`
                                                            
                                                            	// NextLink: A link to the next page of changes.
                                                            	NextLink string `json:"nextLink,omitempty"`
                                                            
                                                            	// NextPageToken: The page token for the next page of changes. This will
                                                            	// be absent if the end of the changes list has been reached. If the
                                                            	// token is rejected for any reason, it should be discarded, and
                                                            	// pagination should be restarted from the first page of results.
                                                            	NextPageToken string `json:"nextPageToken,omitempty"`
                                                            
                                                            	// SelfLink: A link back to this list.
                                                            	SelfLink string `json:"selfLink,omitempty"`
                                                            
                                                            	// ServerResponse contains the HTTP response code and headers from the
                                                            	// server.
                                                            	googleapi.ServerResponse `json:"-"`
                                                            
                                                            	// ForceSendFields is a list of field names (e.g. "Etag") to
                                                            	// unconditionally include in API requests. By default, fields with
                                                            	// empty values are omitted from API requests. However, any non-pointer,
                                                            	// non-interface field appearing in ForceSendFields will be sent to the
                                                            	// server regardless of whether the field is empty or not. This may be
                                                            	// used to include empty fields in Patch requests.
                                                            	ForceSendFields []string `json:"-"`
                                                            
                                                            	// NullFields is a list of field names (e.g. "Etag") to include in API
                                                            	// requests with the JSON null value. By default, fields with empty
                                                            	// values are omitted from API requests. However, any field with an
                                                            	// empty value appearing in NullFields will be sent to the server as
                                                            	// null. It is an error if a field in this list has a non-empty value.
                                                            	// This may be used to include null fields in Patch requests.
                                                            	NullFields []string `json:"-"`
                                                            }

                                                              ChangeList: A list of changes for a user.

                                                              func (*ChangeList) MarshalJSON

                                                              func (s *ChangeList) MarshalJSON() ([]byte, error)

                                                              type ChangesGetCall

                                                              type ChangesGetCall struct {
                                                              	// contains filtered or unexported fields
                                                              }

                                                              func (*ChangesGetCall) Context

                                                              func (c *ChangesGetCall) Context(ctx context.Context) *ChangesGetCall

                                                                Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                func (*ChangesGetCall) Do

                                                                func (c *ChangesGetCall) Do(opts ...googleapi.CallOption) (*Change, error)

                                                                  Do executes the "drive.changes.get" call. Exactly one of *Change or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Change.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                  func (*ChangesGetCall) DriveId

                                                                  func (c *ChangesGetCall) DriveId(driveId string) *ChangesGetCall

                                                                    DriveId sets the optional parameter "driveId": The shared drive from which the change will be returned.

                                                                    func (*ChangesGetCall) Fields

                                                                    func (c *ChangesGetCall) Fields(s ...googleapi.Field) *ChangesGetCall

                                                                      Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                      func (*ChangesGetCall) Header

                                                                      func (c *ChangesGetCall) Header() http.Header

                                                                        Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                        func (*ChangesGetCall) IfNoneMatch

                                                                        func (c *ChangesGetCall) IfNoneMatch(entityTag string) *ChangesGetCall

                                                                          IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                          func (*ChangesGetCall) SupportsAllDrives

                                                                          func (c *ChangesGetCall) SupportsAllDrives(supportsAllDrives bool) *ChangesGetCall

                                                                            SupportsAllDrives sets the optional parameter "supportsAllDrives": Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.

                                                                            func (*ChangesGetCall) SupportsTeamDrives

                                                                            func (c *ChangesGetCall) SupportsTeamDrives(supportsTeamDrives bool) *ChangesGetCall

                                                                              SupportsTeamDrives sets the optional parameter "supportsTeamDrives": Deprecated use supportsAllDrives instead.

                                                                              func (*ChangesGetCall) TeamDriveId

                                                                              func (c *ChangesGetCall) TeamDriveId(teamDriveId string) *ChangesGetCall

                                                                                TeamDriveId sets the optional parameter "teamDriveId": Deprecated use driveId instead.

                                                                                type ChangesGetStartPageTokenCall

                                                                                type ChangesGetStartPageTokenCall struct {
                                                                                	// contains filtered or unexported fields
                                                                                }

                                                                                func (*ChangesGetStartPageTokenCall) Context

                                                                                  Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                  func (*ChangesGetStartPageTokenCall) Do

                                                                                    Do executes the "drive.changes.getStartPageToken" call. Exactly one of *StartPageToken or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *StartPageToken.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                    func (*ChangesGetStartPageTokenCall) DriveId

                                                                                      DriveId sets the optional parameter "driveId": The ID of the shared drive for which the starting pageToken for listing future changes from that shared drive will be returned.

                                                                                      func (*ChangesGetStartPageTokenCall) Fields

                                                                                        Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                        func (*ChangesGetStartPageTokenCall) Header

                                                                                          Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                          func (*ChangesGetStartPageTokenCall) IfNoneMatch

                                                                                            IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                            func (*ChangesGetStartPageTokenCall) SupportsAllDrives

                                                                                            func (c *ChangesGetStartPageTokenCall) SupportsAllDrives(supportsAllDrives bool) *ChangesGetStartPageTokenCall

                                                                                              SupportsAllDrives sets the optional parameter "supportsAllDrives": Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.

                                                                                              func (*ChangesGetStartPageTokenCall) SupportsTeamDrives

                                                                                              func (c *ChangesGetStartPageTokenCall) SupportsTeamDrives(supportsTeamDrives bool) *ChangesGetStartPageTokenCall

                                                                                                SupportsTeamDrives sets the optional parameter "supportsTeamDrives": Deprecated use supportsAllDrives instead.

                                                                                                func (*ChangesGetStartPageTokenCall) TeamDriveId

                                                                                                  TeamDriveId sets the optional parameter "teamDriveId": Deprecated use driveId instead.

                                                                                                  type ChangesListCall

                                                                                                  type ChangesListCall struct {
                                                                                                  	// contains filtered or unexported fields
                                                                                                  }

                                                                                                  func (*ChangesListCall) Context

                                                                                                    Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                    func (*ChangesListCall) Do

                                                                                                      Do executes the "drive.changes.list" call. Exactly one of *ChangeList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ChangeList.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                      func (*ChangesListCall) DriveId

                                                                                                      func (c *ChangesListCall) DriveId(driveId string) *ChangesListCall

                                                                                                        DriveId sets the optional parameter "driveId": The shared drive from which changes will be returned. If specified the change IDs will be reflective of the shared drive; use the combined drive ID and change ID as an identifier.

                                                                                                        func (*ChangesListCall) Fields

                                                                                                          Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                          func (*ChangesListCall) Header

                                                                                                          func (c *ChangesListCall) Header() http.Header

                                                                                                            Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                            func (*ChangesListCall) IfNoneMatch

                                                                                                            func (c *ChangesListCall) IfNoneMatch(entityTag string) *ChangesListCall

                                                                                                              IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                              func (*ChangesListCall) IncludeCorpusRemovals

                                                                                                              func (c *ChangesListCall) IncludeCorpusRemovals(includeCorpusRemovals bool) *ChangesListCall

                                                                                                                IncludeCorpusRemovals sets the optional parameter "includeCorpusRemovals": Whether changes should include the file resource if the file is still accessible by the user at the time of the request, even when a file was removed from the list of changes and there will be no further change entries for this file.

                                                                                                                func (*ChangesListCall) IncludeDeleted

                                                                                                                func (c *ChangesListCall) IncludeDeleted(includeDeleted bool) *ChangesListCall

                                                                                                                  IncludeDeleted sets the optional parameter "includeDeleted": Whether to include changes indicating that items have been removed from the list of changes, for example by deletion or loss of access.

                                                                                                                  func (*ChangesListCall) IncludeItemsFromAllDrives

                                                                                                                  func (c *ChangesListCall) IncludeItemsFromAllDrives(includeItemsFromAllDrives bool) *ChangesListCall

                                                                                                                    IncludeItemsFromAllDrives sets the optional parameter "includeItemsFromAllDrives": Deprecated - Whether both My Drive and shared drive items should be included in results. This parameter will only be effective until June 1, 2020. Afterwards shared drive items will be included in the results.

                                                                                                                    func (*ChangesListCall) IncludeSubscribed

                                                                                                                    func (c *ChangesListCall) IncludeSubscribed(includeSubscribed bool) *ChangesListCall

                                                                                                                      IncludeSubscribed sets the optional parameter "includeSubscribed": Whether to include changes outside the My Drive hierarchy in the result. When set to false, changes to files such as those in the Application Data folder or shared files which have not been added to My Drive will be omitted from the result.

                                                                                                                      func (*ChangesListCall) IncludeTeamDriveItems

                                                                                                                      func (c *ChangesListCall) IncludeTeamDriveItems(includeTeamDriveItems bool) *ChangesListCall

                                                                                                                        IncludeTeamDriveItems sets the optional parameter "includeTeamDriveItems": Deprecated use includeItemsFromAllDrives instead.

                                                                                                                        func (*ChangesListCall) MaxResults

                                                                                                                        func (c *ChangesListCall) MaxResults(maxResults int64) *ChangesListCall

                                                                                                                          MaxResults sets the optional parameter "maxResults": Maximum number of changes to return.

                                                                                                                          func (*ChangesListCall) PageToken

                                                                                                                          func (c *ChangesListCall) PageToken(pageToken string) *ChangesListCall

                                                                                                                            PageToken sets the optional parameter "pageToken": The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response or to the response from the getStartPageToken method.

                                                                                                                            func (*ChangesListCall) Pages

                                                                                                                            func (c *ChangesListCall) Pages(ctx context.Context, f func(*ChangeList) error) error

                                                                                                                              Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

                                                                                                                              func (*ChangesListCall) Spaces

                                                                                                                              func (c *ChangesListCall) Spaces(spaces string) *ChangesListCall

                                                                                                                                Spaces sets the optional parameter "spaces": A comma-separated list of spaces to query. Supported values are 'drive', 'appDataFolder' and 'photos'.

                                                                                                                                func (*ChangesListCall) StartChangeId

                                                                                                                                func (c *ChangesListCall) StartChangeId(startChangeId int64) *ChangesListCall

                                                                                                                                  StartChangeId sets the optional parameter "startChangeId": Deprecated - use pageToken instead.

                                                                                                                                  func (*ChangesListCall) SupportsAllDrives

                                                                                                                                  func (c *ChangesListCall) SupportsAllDrives(supportsAllDrives bool) *ChangesListCall

                                                                                                                                    SupportsAllDrives sets the optional parameter "supportsAllDrives": Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.

                                                                                                                                    func (*ChangesListCall) SupportsTeamDrives

                                                                                                                                    func (c *ChangesListCall) SupportsTeamDrives(supportsTeamDrives bool) *ChangesListCall

                                                                                                                                      SupportsTeamDrives sets the optional parameter "supportsTeamDrives": Deprecated use supportsAllDrives instead.

                                                                                                                                      func (*ChangesListCall) TeamDriveId

                                                                                                                                      func (c *ChangesListCall) TeamDriveId(teamDriveId string) *ChangesListCall

                                                                                                                                        TeamDriveId sets the optional parameter "teamDriveId": Deprecated use driveId instead.

                                                                                                                                        type ChangesService

                                                                                                                                        type ChangesService struct {
                                                                                                                                        	// contains filtered or unexported fields
                                                                                                                                        }

                                                                                                                                        func NewChangesService

                                                                                                                                        func NewChangesService(s *Service) *ChangesService

                                                                                                                                        func (*ChangesService) Get

                                                                                                                                        func (r *ChangesService) Get(changeId string) *ChangesGetCall

                                                                                                                                          Get: Deprecated - Use changes.getStartPageToken and changes.list to retrieve recent changes.

                                                                                                                                          func (*ChangesService) GetStartPageToken

                                                                                                                                          func (r *ChangesService) GetStartPageToken() *ChangesGetStartPageTokenCall

                                                                                                                                            GetStartPageToken: Gets the starting pageToken for listing future changes.

                                                                                                                                            func (*ChangesService) List

                                                                                                                                            func (r *ChangesService) List() *ChangesListCall

                                                                                                                                              List: Lists the changes for a user or shared drive.

                                                                                                                                              func (*ChangesService) Watch

                                                                                                                                              func (r *ChangesService) Watch(channel *Channel) *ChangesWatchCall

                                                                                                                                                Watch: Subscribe to changes for a user.

                                                                                                                                                type ChangesWatchCall

                                                                                                                                                type ChangesWatchCall struct {
                                                                                                                                                	// contains filtered or unexported fields
                                                                                                                                                }

                                                                                                                                                func (*ChangesWatchCall) Context

                                                                                                                                                  Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                  func (*ChangesWatchCall) Do

                                                                                                                                                  func (c *ChangesWatchCall) Do(opts ...googleapi.CallOption) (*Channel, error)

                                                                                                                                                    Do executes the "drive.changes.watch" call. Exactly one of *Channel or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Channel.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                    func (*ChangesWatchCall) DriveId

                                                                                                                                                    func (c *ChangesWatchCall) DriveId(driveId string) *ChangesWatchCall

                                                                                                                                                      DriveId sets the optional parameter "driveId": The shared drive from which changes will be returned. If specified the change IDs will be reflective of the shared drive; use the combined drive ID and change ID as an identifier.

                                                                                                                                                      func (*ChangesWatchCall) Fields

                                                                                                                                                        Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                        func (*ChangesWatchCall) Header

                                                                                                                                                        func (c *ChangesWatchCall) Header() http.Header

                                                                                                                                                          Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                          func (*ChangesWatchCall) IncludeCorpusRemovals

                                                                                                                                                          func (c *ChangesWatchCall) IncludeCorpusRemovals(includeCorpusRemovals bool) *ChangesWatchCall

                                                                                                                                                            IncludeCorpusRemovals sets the optional parameter "includeCorpusRemovals": Whether changes should include the file resource if the file is still accessible by the user at the time of the request, even when a file was removed from the list of changes and there will be no further change entries for this file.

                                                                                                                                                            func (*ChangesWatchCall) IncludeDeleted

                                                                                                                                                            func (c *ChangesWatchCall) IncludeDeleted(includeDeleted bool) *ChangesWatchCall

                                                                                                                                                              IncludeDeleted sets the optional parameter "includeDeleted": Whether to include changes indicating that items have been removed from the list of changes, for example by deletion or loss of access.

                                                                                                                                                              func (*ChangesWatchCall) IncludeItemsFromAllDrives

                                                                                                                                                              func (c *ChangesWatchCall) IncludeItemsFromAllDrives(includeItemsFromAllDrives bool) *ChangesWatchCall

                                                                                                                                                                IncludeItemsFromAllDrives sets the optional parameter "includeItemsFromAllDrives": Deprecated - Whether both My Drive and shared drive items should be included in results. This parameter will only be effective until June 1, 2020. Afterwards shared drive items will be included in the results.

                                                                                                                                                                func (*ChangesWatchCall) IncludeSubscribed

                                                                                                                                                                func (c *ChangesWatchCall) IncludeSubscribed(includeSubscribed bool) *ChangesWatchCall

                                                                                                                                                                  IncludeSubscribed sets the optional parameter "includeSubscribed": Whether to include changes outside the My Drive hierarchy in the result. When set to false, changes to files such as those in the Application Data folder or shared files which have not been added to My Drive will be omitted from the result.

                                                                                                                                                                  func (*ChangesWatchCall) IncludeTeamDriveItems

                                                                                                                                                                  func (c *ChangesWatchCall) IncludeTeamDriveItems(includeTeamDriveItems bool) *ChangesWatchCall

                                                                                                                                                                    IncludeTeamDriveItems sets the optional parameter "includeTeamDriveItems": Deprecated use includeItemsFromAllDrives instead.

                                                                                                                                                                    func (*ChangesWatchCall) MaxResults

                                                                                                                                                                    func (c *ChangesWatchCall) MaxResults(maxResults int64) *ChangesWatchCall

                                                                                                                                                                      MaxResults sets the optional parameter "maxResults": Maximum number of changes to return.

                                                                                                                                                                      func (*ChangesWatchCall) PageToken

                                                                                                                                                                      func (c *ChangesWatchCall) PageToken(pageToken string) *ChangesWatchCall

                                                                                                                                                                        PageToken sets the optional parameter "pageToken": The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response or to the response from the getStartPageToken method.

                                                                                                                                                                        func (*ChangesWatchCall) Spaces

                                                                                                                                                                        func (c *ChangesWatchCall) Spaces(spaces string) *ChangesWatchCall

                                                                                                                                                                          Spaces sets the optional parameter "spaces": A comma-separated list of spaces to query. Supported values are 'drive', 'appDataFolder' and 'photos'.

                                                                                                                                                                          func (*ChangesWatchCall) StartChangeId

                                                                                                                                                                          func (c *ChangesWatchCall) StartChangeId(startChangeId int64) *ChangesWatchCall

                                                                                                                                                                            StartChangeId sets the optional parameter "startChangeId": Deprecated - use pageToken instead.

                                                                                                                                                                            func (*ChangesWatchCall) SupportsAllDrives

                                                                                                                                                                            func (c *ChangesWatchCall) SupportsAllDrives(supportsAllDrives bool) *ChangesWatchCall

                                                                                                                                                                              SupportsAllDrives sets the optional parameter "supportsAllDrives": Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.

                                                                                                                                                                              func (*ChangesWatchCall) SupportsTeamDrives

                                                                                                                                                                              func (c *ChangesWatchCall) SupportsTeamDrives(supportsTeamDrives bool) *ChangesWatchCall

                                                                                                                                                                                SupportsTeamDrives sets the optional parameter "supportsTeamDrives": Deprecated use supportsAllDrives instead.

                                                                                                                                                                                func (*ChangesWatchCall) TeamDriveId

                                                                                                                                                                                func (c *ChangesWatchCall) TeamDriveId(teamDriveId string) *ChangesWatchCall

                                                                                                                                                                                  TeamDriveId sets the optional parameter "teamDriveId": Deprecated use driveId instead.

                                                                                                                                                                                  type Channel

                                                                                                                                                                                  type Channel struct {
                                                                                                                                                                                  	// Address: The address where notifications are delivered for this
                                                                                                                                                                                  	// channel.
                                                                                                                                                                                  	Address string `json:"address,omitempty"`
                                                                                                                                                                                  
                                                                                                                                                                                  	// Expiration: Date and time of notification channel expiration,
                                                                                                                                                                                  	// expressed as a Unix timestamp, in milliseconds. Optional.
                                                                                                                                                                                  	Expiration int64 `json:"expiration,omitempty,string"`
                                                                                                                                                                                  
                                                                                                                                                                                  	// Id: A UUID or similar unique string that identifies this channel.
                                                                                                                                                                                  	Id string `json:"id,omitempty"`
                                                                                                                                                                                  
                                                                                                                                                                                  	// Kind: Identifies this as a notification channel used to watch for
                                                                                                                                                                                  	// changes to a resource, which is "api#channel".
                                                                                                                                                                                  	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                  
                                                                                                                                                                                  	// Params: Additional parameters controlling delivery channel behavior.
                                                                                                                                                                                  	// Optional.
                                                                                                                                                                                  	Params map[string]string `json:"params,omitempty"`
                                                                                                                                                                                  
                                                                                                                                                                                  	// Payload: A Boolean value to indicate whether payload is wanted.
                                                                                                                                                                                  	// Optional.
                                                                                                                                                                                  	Payload bool `json:"payload,omitempty"`
                                                                                                                                                                                  
                                                                                                                                                                                  	// ResourceId: An opaque ID that identifies the resource being watched
                                                                                                                                                                                  	// on this channel. Stable across different API versions.
                                                                                                                                                                                  	ResourceId string `json:"resourceId,omitempty"`
                                                                                                                                                                                  
                                                                                                                                                                                  	// ResourceUri: A version-specific identifier for the watched resource.
                                                                                                                                                                                  	ResourceUri string `json:"resourceUri,omitempty"`
                                                                                                                                                                                  
                                                                                                                                                                                  	// Token: An arbitrary string delivered to the target address with each
                                                                                                                                                                                  	// notification delivered over this channel. Optional.
                                                                                                                                                                                  	Token string `json:"token,omitempty"`
                                                                                                                                                                                  
                                                                                                                                                                                  	// Type: The type of delivery mechanism used for this channel.
                                                                                                                                                                                  	Type string `json:"type,omitempty"`
                                                                                                                                                                                  
                                                                                                                                                                                  	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                  	// server.
                                                                                                                                                                                  	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                  
                                                                                                                                                                                  	// ForceSendFields is a list of field names (e.g. "Address") to
                                                                                                                                                                                  	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                  	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                  	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                  	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                  	// used to include empty fields in Patch requests.
                                                                                                                                                                                  	ForceSendFields []string `json:"-"`
                                                                                                                                                                                  
                                                                                                                                                                                  	// NullFields is a list of field names (e.g. "Address") to include in
                                                                                                                                                                                  	// API requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                  	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                  	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                  	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                  	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                  	NullFields []string `json:"-"`
                                                                                                                                                                                  }

                                                                                                                                                                                    Channel: An notification channel used to watch for resource changes.

                                                                                                                                                                                    func (*Channel) MarshalJSON

                                                                                                                                                                                    func (s *Channel) MarshalJSON() ([]byte, error)

                                                                                                                                                                                    type ChannelsService

                                                                                                                                                                                    type ChannelsService struct {
                                                                                                                                                                                    	// contains filtered or unexported fields
                                                                                                                                                                                    }

                                                                                                                                                                                    func NewChannelsService

                                                                                                                                                                                    func NewChannelsService(s *Service) *ChannelsService

                                                                                                                                                                                    func (*ChannelsService) Stop

                                                                                                                                                                                    func (r *ChannelsService) Stop(channel *Channel) *ChannelsStopCall

                                                                                                                                                                                      Stop: Stop watching resources through this channel

                                                                                                                                                                                      type ChannelsStopCall

                                                                                                                                                                                      type ChannelsStopCall struct {
                                                                                                                                                                                      	// contains filtered or unexported fields
                                                                                                                                                                                      }

                                                                                                                                                                                      func (*ChannelsStopCall) Context

                                                                                                                                                                                        Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                        func (*ChannelsStopCall) Do

                                                                                                                                                                                        func (c *ChannelsStopCall) Do(opts ...googleapi.CallOption) error

                                                                                                                                                                                          Do executes the "drive.channels.stop" call.

                                                                                                                                                                                          func (*ChannelsStopCall) Fields

                                                                                                                                                                                            Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                            func (*ChannelsStopCall) Header

                                                                                                                                                                                            func (c *ChannelsStopCall) Header() http.Header

                                                                                                                                                                                              Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                              type ChildList

                                                                                                                                                                                              type ChildList struct {
                                                                                                                                                                                              	// Etag: The ETag of the list.
                                                                                                                                                                                              	Etag string `json:"etag,omitempty"`
                                                                                                                                                                                              
                                                                                                                                                                                              	// Items: The list of children. If nextPageToken is populated, then this
                                                                                                                                                                                              	// list may be incomplete and an additional page of results should be
                                                                                                                                                                                              	// fetched.
                                                                                                                                                                                              	Items []*ChildReference `json:"items,omitempty"`
                                                                                                                                                                                              
                                                                                                                                                                                              	// Kind: This is always drive#childList.
                                                                                                                                                                                              	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                              
                                                                                                                                                                                              	// NextLink: A link to the next page of children.
                                                                                                                                                                                              	NextLink string `json:"nextLink,omitempty"`
                                                                                                                                                                                              
                                                                                                                                                                                              	// NextPageToken: The page token for the next page of children. This
                                                                                                                                                                                              	// will be absent if the end of the children list has been reached. If
                                                                                                                                                                                              	// the token is rejected for any reason, it should be discarded, and
                                                                                                                                                                                              	// pagination should be restarted from the first page of results.
                                                                                                                                                                                              	NextPageToken string `json:"nextPageToken,omitempty"`
                                                                                                                                                                                              
                                                                                                                                                                                              	// SelfLink: A link back to this list.
                                                                                                                                                                                              	SelfLink string `json:"selfLink,omitempty"`
                                                                                                                                                                                              
                                                                                                                                                                                              	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                              	// server.
                                                                                                                                                                                              	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                              
                                                                                                                                                                                              	// ForceSendFields is a list of field names (e.g. "Etag") to
                                                                                                                                                                                              	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                              	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                              	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                              	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                              	// used to include empty fields in Patch requests.
                                                                                                                                                                                              	ForceSendFields []string `json:"-"`
                                                                                                                                                                                              
                                                                                                                                                                                              	// NullFields is a list of field names (e.g. "Etag") to include in API
                                                                                                                                                                                              	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                              	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                              	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                              	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                              	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                              	NullFields []string `json:"-"`
                                                                                                                                                                                              }

                                                                                                                                                                                                ChildList: A list of children of a file.

                                                                                                                                                                                                func (*ChildList) MarshalJSON

                                                                                                                                                                                                func (s *ChildList) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                type ChildReference

                                                                                                                                                                                                type ChildReference struct {
                                                                                                                                                                                                	// ChildLink: A link to the child.
                                                                                                                                                                                                	ChildLink string `json:"childLink,omitempty"`
                                                                                                                                                                                                
                                                                                                                                                                                                	// Id: The ID of the child.
                                                                                                                                                                                                	Id string `json:"id,omitempty"`
                                                                                                                                                                                                
                                                                                                                                                                                                	// Kind: This is always drive#childReference.
                                                                                                                                                                                                	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                
                                                                                                                                                                                                	// SelfLink: A link back to this reference.
                                                                                                                                                                                                	SelfLink string `json:"selfLink,omitempty"`
                                                                                                                                                                                                
                                                                                                                                                                                                	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                	// server.
                                                                                                                                                                                                	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                
                                                                                                                                                                                                	// ForceSendFields is a list of field names (e.g. "ChildLink") to
                                                                                                                                                                                                	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                	// used to include empty fields in Patch requests.
                                                                                                                                                                                                	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                
                                                                                                                                                                                                	// NullFields is a list of field names (e.g. "ChildLink") to include in
                                                                                                                                                                                                	// API requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                	NullFields []string `json:"-"`
                                                                                                                                                                                                }

                                                                                                                                                                                                  ChildReference: A reference to a folder's child.

                                                                                                                                                                                                  func (*ChildReference) MarshalJSON

                                                                                                                                                                                                  func (s *ChildReference) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                  type ChildrenDeleteCall

                                                                                                                                                                                                  type ChildrenDeleteCall struct {
                                                                                                                                                                                                  	// contains filtered or unexported fields
                                                                                                                                                                                                  }

                                                                                                                                                                                                  func (*ChildrenDeleteCall) Context

                                                                                                                                                                                                    Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                    func (*ChildrenDeleteCall) Do

                                                                                                                                                                                                      Do executes the "drive.children.delete" call.

                                                                                                                                                                                                      func (*ChildrenDeleteCall) Fields

                                                                                                                                                                                                        Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                        func (*ChildrenDeleteCall) Header

                                                                                                                                                                                                        func (c *ChildrenDeleteCall) Header() http.Header

                                                                                                                                                                                                          Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                          type ChildrenGetCall

                                                                                                                                                                                                          type ChildrenGetCall struct {
                                                                                                                                                                                                          	// contains filtered or unexported fields
                                                                                                                                                                                                          }

                                                                                                                                                                                                          func (*ChildrenGetCall) Context

                                                                                                                                                                                                            Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                            func (*ChildrenGetCall) Do

                                                                                                                                                                                                              Do executes the "drive.children.get" call. Exactly one of *ChildReference or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ChildReference.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                              func (*ChildrenGetCall) Fields

                                                                                                                                                                                                                Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                func (*ChildrenGetCall) Header

                                                                                                                                                                                                                func (c *ChildrenGetCall) Header() http.Header

                                                                                                                                                                                                                  Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                  func (*ChildrenGetCall) IfNoneMatch

                                                                                                                                                                                                                  func (c *ChildrenGetCall) IfNoneMatch(entityTag string) *ChildrenGetCall

                                                                                                                                                                                                                    IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                                    type ChildrenInsertCall

                                                                                                                                                                                                                    type ChildrenInsertCall struct {
                                                                                                                                                                                                                    	// contains filtered or unexported fields
                                                                                                                                                                                                                    }

                                                                                                                                                                                                                    func (*ChildrenInsertCall) Context

                                                                                                                                                                                                                      Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                      func (*ChildrenInsertCall) Do

                                                                                                                                                                                                                        Do executes the "drive.children.insert" call. Exactly one of *ChildReference or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ChildReference.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                        func (*ChildrenInsertCall) Fields

                                                                                                                                                                                                                          Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                          func (*ChildrenInsertCall) Header

                                                                                                                                                                                                                          func (c *ChildrenInsertCall) Header() http.Header

                                                                                                                                                                                                                            Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                            func (*ChildrenInsertCall) SupportsAllDrives

                                                                                                                                                                                                                            func (c *ChildrenInsertCall) SupportsAllDrives(supportsAllDrives bool) *ChildrenInsertCall

                                                                                                                                                                                                                              SupportsAllDrives sets the optional parameter "supportsAllDrives": Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.

                                                                                                                                                                                                                              func (*ChildrenInsertCall) SupportsTeamDrives

                                                                                                                                                                                                                              func (c *ChildrenInsertCall) SupportsTeamDrives(supportsTeamDrives bool) *ChildrenInsertCall

                                                                                                                                                                                                                                SupportsTeamDrives sets the optional parameter "supportsTeamDrives": Deprecated use supportsAllDrives instead.

                                                                                                                                                                                                                                type ChildrenListCall

                                                                                                                                                                                                                                type ChildrenListCall struct {
                                                                                                                                                                                                                                	// contains filtered or unexported fields
                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                func (*ChildrenListCall) Context

                                                                                                                                                                                                                                  Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                  func (*ChildrenListCall) Do

                                                                                                                                                                                                                                    Do executes the "drive.children.list" call. Exactly one of *ChildList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ChildList.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                    func (*ChildrenListCall) Fields

                                                                                                                                                                                                                                      Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                      func (*ChildrenListCall) Header

                                                                                                                                                                                                                                      func (c *ChildrenListCall) Header() http.Header

                                                                                                                                                                                                                                        Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                        func (*ChildrenListCall) IfNoneMatch

                                                                                                                                                                                                                                        func (c *ChildrenListCall) IfNoneMatch(entityTag string) *ChildrenListCall

                                                                                                                                                                                                                                          IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                                                          func (*ChildrenListCall) MaxResults

                                                                                                                                                                                                                                          func (c *ChildrenListCall) MaxResults(maxResults int64) *ChildrenListCall

                                                                                                                                                                                                                                            MaxResults sets the optional parameter "maxResults": Maximum number of children to return.

                                                                                                                                                                                                                                            func (*ChildrenListCall) OrderBy

                                                                                                                                                                                                                                            func (c *ChildrenListCall) OrderBy(orderBy string) *ChildrenListCall

                                                                                                                                                                                                                                              OrderBy sets the optional parameter "orderBy": A comma-separated list of sort keys. Valid keys are 'createdDate', 'folder', 'lastViewedByMeDate', 'modifiedByMeDate', 'modifiedDate', 'quotaBytesUsed', 'recency', 'sharedWithMeDate', 'starred', and 'title'. Each key sorts ascending by default, but may be reversed with the 'desc' modifier. Example usage: ?orderBy=folder,modifiedDate desc,title. Please note that there is a current limitation for users with approximately one million files in which the requested sort order is ignored.

                                                                                                                                                                                                                                              func (*ChildrenListCall) PageToken

                                                                                                                                                                                                                                              func (c *ChildrenListCall) PageToken(pageToken string) *ChildrenListCall

                                                                                                                                                                                                                                                PageToken sets the optional parameter "pageToken": Page token for children.

                                                                                                                                                                                                                                                func (*ChildrenListCall) Pages

                                                                                                                                                                                                                                                func (c *ChildrenListCall) Pages(ctx context.Context, f func(*ChildList) error) error

                                                                                                                                                                                                                                                  Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

                                                                                                                                                                                                                                                  func (*ChildrenListCall) Q

                                                                                                                                                                                                                                                    Q sets the optional parameter "q": Query string for searching children.

                                                                                                                                                                                                                                                    type ChildrenService

                                                                                                                                                                                                                                                    type ChildrenService struct {
                                                                                                                                                                                                                                                    	// contains filtered or unexported fields
                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                    func NewChildrenService

                                                                                                                                                                                                                                                    func NewChildrenService(s *Service) *ChildrenService

                                                                                                                                                                                                                                                    func (*ChildrenService) Delete

                                                                                                                                                                                                                                                    func (r *ChildrenService) Delete(folderId string, childId string) *ChildrenDeleteCall

                                                                                                                                                                                                                                                      Delete: Removes a child from a folder.

                                                                                                                                                                                                                                                      func (*ChildrenService) Get

                                                                                                                                                                                                                                                      func (r *ChildrenService) Get(folderId string, childId string) *ChildrenGetCall

                                                                                                                                                                                                                                                        Get: Gets a specific child reference.

                                                                                                                                                                                                                                                        func (*ChildrenService) Insert

                                                                                                                                                                                                                                                        func (r *ChildrenService) Insert(folderId string, childreference *ChildReference) *ChildrenInsertCall

                                                                                                                                                                                                                                                          Insert: Inserts a file into a folder.

                                                                                                                                                                                                                                                          func (*ChildrenService) List

                                                                                                                                                                                                                                                          func (r *ChildrenService) List(folderId string) *ChildrenListCall

                                                                                                                                                                                                                                                            List: Lists a folder's children.

                                                                                                                                                                                                                                                            type Comment

                                                                                                                                                                                                                                                            type Comment struct {
                                                                                                                                                                                                                                                            	// Anchor: A region of the document represented as a JSON string. See
                                                                                                                                                                                                                                                            	// anchor documentation for details on how to define and interpret
                                                                                                                                                                                                                                                            	// anchor properties.
                                                                                                                                                                                                                                                            	Anchor string `json:"anchor,omitempty"`
                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                            	// Author: The author of the comment. The author's email address and
                                                                                                                                                                                                                                                            	// permission ID will not be populated.
                                                                                                                                                                                                                                                            	Author *User `json:"author,omitempty"`
                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                            	// CommentId: The ID of the comment.
                                                                                                                                                                                                                                                            	CommentId string `json:"commentId,omitempty"`
                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                            	// Content: The plain text content used to create this comment. This is
                                                                                                                                                                                                                                                            	// not HTML safe and should only be used as a starting point to make
                                                                                                                                                                                                                                                            	// edits to a comment's content.
                                                                                                                                                                                                                                                            	Content string `json:"content,omitempty"`
                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                            	// Context: The context of the file which is being commented on.
                                                                                                                                                                                                                                                            	Context *CommentContext `json:"context,omitempty"`
                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                            	// CreatedDate: The date when this comment was first created.
                                                                                                                                                                                                                                                            	CreatedDate string `json:"createdDate,omitempty"`
                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                            	// Deleted: Whether this comment has been deleted. If a comment has been
                                                                                                                                                                                                                                                            	// deleted the content will be cleared and this will only represent a
                                                                                                                                                                                                                                                            	// comment that once existed.
                                                                                                                                                                                                                                                            	Deleted bool `json:"deleted,omitempty"`
                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                            	// FileId: The file which this comment is addressing.
                                                                                                                                                                                                                                                            	FileId string `json:"fileId,omitempty"`
                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                            	// FileTitle: The title of the file which this comment is addressing.
                                                                                                                                                                                                                                                            	FileTitle string `json:"fileTitle,omitempty"`
                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                            	// HtmlContent: HTML formatted content for this comment.
                                                                                                                                                                                                                                                            	HtmlContent string `json:"htmlContent,omitempty"`
                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                            	// Kind: This is always drive#comment.
                                                                                                                                                                                                                                                            	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                            	// ModifiedDate: The date when this comment or any of its replies were
                                                                                                                                                                                                                                                            	// last modified.
                                                                                                                                                                                                                                                            	ModifiedDate string `json:"modifiedDate,omitempty"`
                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                            	// Replies: Replies to this post.
                                                                                                                                                                                                                                                            	Replies []*CommentReply `json:"replies,omitempty"`
                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                            	// SelfLink: A link back to this comment.
                                                                                                                                                                                                                                                            	SelfLink string `json:"selfLink,omitempty"`
                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                            	// Status: The status of this comment. Status can be changed by posting
                                                                                                                                                                                                                                                            	// a reply to a comment with the desired status.
                                                                                                                                                                                                                                                            	// - "open" - The comment is still open.
                                                                                                                                                                                                                                                            	// - "resolved" - The comment has been resolved by one of its replies.
                                                                                                                                                                                                                                                            	Status string `json:"status,omitempty"`
                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                            	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                            	// server.
                                                                                                                                                                                                                                                            	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                            	// ForceSendFields is a list of field names (e.g. "Anchor") to
                                                                                                                                                                                                                                                            	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                            	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                            	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                            	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                            	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                            	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                            	// NullFields is a list of field names (e.g. "Anchor") to include in API
                                                                                                                                                                                                                                                            	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                            	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                            	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                            	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                            	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                            	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                              Comment: A comment on a file in Google Drive.

                                                                                                                                                                                                                                                              func (*Comment) MarshalJSON

                                                                                                                                                                                                                                                              func (s *Comment) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                              type CommentContext

                                                                                                                                                                                                                                                              type CommentContext struct {
                                                                                                                                                                                                                                                              	// Type: The MIME type of the context snippet.
                                                                                                                                                                                                                                                              	Type string `json:"type,omitempty"`
                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                              	// Value: Data representation of the segment of the file being commented
                                                                                                                                                                                                                                                              	// on. In the case of a text file for example, this would be the actual
                                                                                                                                                                                                                                                              	// text that the comment is about.
                                                                                                                                                                                                                                                              	Value string `json:"value,omitempty"`
                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                              	// ForceSendFields is a list of field names (e.g. "Type") to
                                                                                                                                                                                                                                                              	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                              	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                              	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                              	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                              	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                              	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                              	// NullFields is a list of field names (e.g. "Type") to include in API
                                                                                                                                                                                                                                                              	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                              	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                              	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                              	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                              	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                              	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                CommentContext: The context of the file which is being commented on.

                                                                                                                                                                                                                                                                func (*CommentContext) MarshalJSON

                                                                                                                                                                                                                                                                func (s *CommentContext) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                type CommentList

                                                                                                                                                                                                                                                                type CommentList struct {
                                                                                                                                                                                                                                                                	// Items: The list of comments. If nextPageToken is populated, then this
                                                                                                                                                                                                                                                                	// list may be incomplete and an additional page of results should be
                                                                                                                                                                                                                                                                	// fetched.
                                                                                                                                                                                                                                                                	Items []*Comment `json:"items,omitempty"`
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                	// Kind: This is always drive#commentList.
                                                                                                                                                                                                                                                                	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                	// NextLink: A link to the next page of comments.
                                                                                                                                                                                                                                                                	NextLink string `json:"nextLink,omitempty"`
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                	// NextPageToken: The page token for the next page of comments. This
                                                                                                                                                                                                                                                                	// will be absent if the end of the comments list has been reached. If
                                                                                                                                                                                                                                                                	// the token is rejected for any reason, it should be discarded, and
                                                                                                                                                                                                                                                                	// pagination should be restarted from the first page of results.
                                                                                                                                                                                                                                                                	NextPageToken string `json:"nextPageToken,omitempty"`
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                	// SelfLink: A link back to this list.
                                                                                                                                                                                                                                                                	SelfLink string `json:"selfLink,omitempty"`
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                	// server.
                                                                                                                                                                                                                                                                	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                	// ForceSendFields is a list of field names (e.g. "Items") to
                                                                                                                                                                                                                                                                	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                	// NullFields is a list of field names (e.g. "Items") to include in API
                                                                                                                                                                                                                                                                	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                  CommentList: A list of comments on a file in Google Drive.

                                                                                                                                                                                                                                                                  func (*CommentList) MarshalJSON

                                                                                                                                                                                                                                                                  func (s *CommentList) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                  type CommentReply

                                                                                                                                                                                                                                                                  type CommentReply struct {
                                                                                                                                                                                                                                                                  	// Author: The author of the reply. The author's email address and
                                                                                                                                                                                                                                                                  	// permission ID will not be populated.
                                                                                                                                                                                                                                                                  	Author *User `json:"author,omitempty"`
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                  	// Content: The plain text content used to create this reply. This is
                                                                                                                                                                                                                                                                  	// not HTML safe and should only be used as a starting point to make
                                                                                                                                                                                                                                                                  	// edits to a reply's content. This field is required on inserts if no
                                                                                                                                                                                                                                                                  	// verb is specified (resolve/reopen).
                                                                                                                                                                                                                                                                  	Content string `json:"content,omitempty"`
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                  	// CreatedDate: The date when this reply was first created.
                                                                                                                                                                                                                                                                  	CreatedDate string `json:"createdDate,omitempty"`
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                  	// Deleted: Whether this reply has been deleted. If a reply has been
                                                                                                                                                                                                                                                                  	// deleted the content will be cleared and this will only represent a
                                                                                                                                                                                                                                                                  	// reply that once existed.
                                                                                                                                                                                                                                                                  	Deleted bool `json:"deleted,omitempty"`
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                  	// HtmlContent: HTML formatted content for this reply.
                                                                                                                                                                                                                                                                  	HtmlContent string `json:"htmlContent,omitempty"`
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                  	// Kind: This is always drive#commentReply.
                                                                                                                                                                                                                                                                  	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                  	// ModifiedDate: The date when this reply was last modified.
                                                                                                                                                                                                                                                                  	ModifiedDate string `json:"modifiedDate,omitempty"`
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                  	// ReplyId: The ID of the reply.
                                                                                                                                                                                                                                                                  	ReplyId string `json:"replyId,omitempty"`
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                  	// Verb: The action this reply performed to the parent comment. When
                                                                                                                                                                                                                                                                  	// creating a new reply this is the action to be perform to the parent
                                                                                                                                                                                                                                                                  	// comment. Possible values are:
                                                                                                                                                                                                                                                                  	// - "resolve" - To resolve a comment.
                                                                                                                                                                                                                                                                  	// - "reopen" - To reopen (un-resolve) a comment.
                                                                                                                                                                                                                                                                  	Verb string `json:"verb,omitempty"`
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                  	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                  	// server.
                                                                                                                                                                                                                                                                  	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                  	// ForceSendFields is a list of field names (e.g. "Author") to
                                                                                                                                                                                                                                                                  	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                  	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                  	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                  	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                  	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                  	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                  	// NullFields is a list of field names (e.g. "Author") to include in API
                                                                                                                                                                                                                                                                  	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                  	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                  	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                  	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                  	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                  	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                    CommentReply: A comment on a file in Google Drive.

                                                                                                                                                                                                                                                                    func (*CommentReply) MarshalJSON

                                                                                                                                                                                                                                                                    func (s *CommentReply) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                    type CommentReplyList

                                                                                                                                                                                                                                                                    type CommentReplyList struct {
                                                                                                                                                                                                                                                                    	// Items: The list of replies. If nextPageToken is populated, then this
                                                                                                                                                                                                                                                                    	// list may be incomplete and an additional page of results should be
                                                                                                                                                                                                                                                                    	// fetched.
                                                                                                                                                                                                                                                                    	Items []*CommentReply `json:"items,omitempty"`
                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                    	// Kind: This is always drive#commentReplyList.
                                                                                                                                                                                                                                                                    	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                    	// NextLink: A link to the next page of replies.
                                                                                                                                                                                                                                                                    	NextLink string `json:"nextLink,omitempty"`
                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                    	// NextPageToken: The page token for the next page of replies. This will
                                                                                                                                                                                                                                                                    	// be absent if the end of the replies list has been reached. If the
                                                                                                                                                                                                                                                                    	// token is rejected for any reason, it should be discarded, and
                                                                                                                                                                                                                                                                    	// pagination should be restarted from the first page of results.
                                                                                                                                                                                                                                                                    	NextPageToken string `json:"nextPageToken,omitempty"`
                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                    	// SelfLink: A link back to this list.
                                                                                                                                                                                                                                                                    	SelfLink string `json:"selfLink,omitempty"`
                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                    	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                    	// server.
                                                                                                                                                                                                                                                                    	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                    	// ForceSendFields is a list of field names (e.g. "Items") to
                                                                                                                                                                                                                                                                    	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                    	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                    	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                    	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                    	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                    	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                    	// NullFields is a list of field names (e.g. "Items") to include in API
                                                                                                                                                                                                                                                                    	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                    	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                    	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                    	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                    	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                    	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                      CommentReplyList: A list of replies to a comment on a file in Google Drive.

                                                                                                                                                                                                                                                                      func (*CommentReplyList) MarshalJSON

                                                                                                                                                                                                                                                                      func (s *CommentReplyList) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                      type CommentsDeleteCall

                                                                                                                                                                                                                                                                      type CommentsDeleteCall struct {
                                                                                                                                                                                                                                                                      	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                      func (*CommentsDeleteCall) Context

                                                                                                                                                                                                                                                                        Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                        func (*CommentsDeleteCall) Do

                                                                                                                                                                                                                                                                          Do executes the "drive.comments.delete" call.

                                                                                                                                                                                                                                                                          func (*CommentsDeleteCall) Fields

                                                                                                                                                                                                                                                                            Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                            func (*CommentsDeleteCall) Header

                                                                                                                                                                                                                                                                            func (c *CommentsDeleteCall) Header() http.Header

                                                                                                                                                                                                                                                                              Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                              type CommentsGetCall

                                                                                                                                                                                                                                                                              type CommentsGetCall struct {
                                                                                                                                                                                                                                                                              	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                              func (*CommentsGetCall) Context

                                                                                                                                                                                                                                                                                Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                func (*CommentsGetCall) Do

                                                                                                                                                                                                                                                                                func (c *CommentsGetCall) Do(opts ...googleapi.CallOption) (*Comment, error)

                                                                                                                                                                                                                                                                                  Do executes the "drive.comments.get" call. Exactly one of *Comment or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Comment.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                  func (*CommentsGetCall) Fields

                                                                                                                                                                                                                                                                                    Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                    func (*CommentsGetCall) Header

                                                                                                                                                                                                                                                                                    func (c *CommentsGetCall) Header() http.Header

                                                                                                                                                                                                                                                                                      Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                      func (*CommentsGetCall) IfNoneMatch

                                                                                                                                                                                                                                                                                      func (c *CommentsGetCall) IfNoneMatch(entityTag string) *CommentsGetCall

                                                                                                                                                                                                                                                                                        IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                                                                                                        func (*CommentsGetCall) IncludeDeleted

                                                                                                                                                                                                                                                                                        func (c *CommentsGetCall) IncludeDeleted(includeDeleted bool) *CommentsGetCall

                                                                                                                                                                                                                                                                                          IncludeDeleted sets the optional parameter "includeDeleted": If set, this will succeed when retrieving a deleted comment, and will include any deleted replies.

                                                                                                                                                                                                                                                                                          type CommentsInsertCall

                                                                                                                                                                                                                                                                                          type CommentsInsertCall struct {
                                                                                                                                                                                                                                                                                          	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                                                          func (*CommentsInsertCall) Context

                                                                                                                                                                                                                                                                                            Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                            func (*CommentsInsertCall) Do

                                                                                                                                                                                                                                                                                              Do executes the "drive.comments.insert" call. Exactly one of *Comment or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Comment.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                              func (*CommentsInsertCall) Fields

                                                                                                                                                                                                                                                                                                Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                func (*CommentsInsertCall) Header

                                                                                                                                                                                                                                                                                                func (c *CommentsInsertCall) Header() http.Header

                                                                                                                                                                                                                                                                                                  Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                  type CommentsListCall

                                                                                                                                                                                                                                                                                                  type CommentsListCall struct {
                                                                                                                                                                                                                                                                                                  	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                  func (*CommentsListCall) Context

                                                                                                                                                                                                                                                                                                    Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                    func (*CommentsListCall) Do

                                                                                                                                                                                                                                                                                                      Do executes the "drive.comments.list" call. Exactly one of *CommentList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CommentList.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                                      func (*CommentsListCall) Fields

                                                                                                                                                                                                                                                                                                        Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                        func (*CommentsListCall) Header

                                                                                                                                                                                                                                                                                                        func (c *CommentsListCall) Header() http.Header

                                                                                                                                                                                                                                                                                                          Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                          func (*CommentsListCall) IfNoneMatch

                                                                                                                                                                                                                                                                                                          func (c *CommentsListCall) IfNoneMatch(entityTag string) *CommentsListCall

                                                                                                                                                                                                                                                                                                            IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                                                                                                                            func (*CommentsListCall) IncludeDeleted

                                                                                                                                                                                                                                                                                                            func (c *CommentsListCall) IncludeDeleted(includeDeleted bool) *CommentsListCall

                                                                                                                                                                                                                                                                                                              IncludeDeleted sets the optional parameter "includeDeleted": If set, all comments and replies, including deleted comments and replies (with content stripped) will be returned.

                                                                                                                                                                                                                                                                                                              func (*CommentsListCall) MaxResults

                                                                                                                                                                                                                                                                                                              func (c *CommentsListCall) MaxResults(maxResults int64) *CommentsListCall

                                                                                                                                                                                                                                                                                                                MaxResults sets the optional parameter "maxResults": The maximum number of discussions to include in the response, used for paging.

                                                                                                                                                                                                                                                                                                                func (*CommentsListCall) PageToken

                                                                                                                                                                                                                                                                                                                func (c *CommentsListCall) PageToken(pageToken string) *CommentsListCall

                                                                                                                                                                                                                                                                                                                  PageToken sets the optional parameter "pageToken": The continuation token, used to page through large result sets. To get the next page of results, set this parameter to the value of "nextPageToken" from the previous response.

                                                                                                                                                                                                                                                                                                                  func (*CommentsListCall) Pages

                                                                                                                                                                                                                                                                                                                  func (c *CommentsListCall) Pages(ctx context.Context, f func(*CommentList) error) error

                                                                                                                                                                                                                                                                                                                    Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

                                                                                                                                                                                                                                                                                                                    func (*CommentsListCall) UpdatedMin

                                                                                                                                                                                                                                                                                                                    func (c *CommentsListCall) UpdatedMin(updatedMin string) *CommentsListCall

                                                                                                                                                                                                                                                                                                                      UpdatedMin sets the optional parameter "updatedMin": Only discussions that were updated after this timestamp will be returned. Formatted as an RFC 3339 timestamp.

                                                                                                                                                                                                                                                                                                                      type CommentsPatchCall

                                                                                                                                                                                                                                                                                                                      type CommentsPatchCall struct {
                                                                                                                                                                                                                                                                                                                      	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                                                                      func (*CommentsPatchCall) Context

                                                                                                                                                                                                                                                                                                                        Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                        func (*CommentsPatchCall) Do

                                                                                                                                                                                                                                                                                                                        func (c *CommentsPatchCall) Do(opts ...googleapi.CallOption) (*Comment, error)

                                                                                                                                                                                                                                                                                                                          Do executes the "drive.comments.patch" call. Exactly one of *Comment or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Comment.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                                                          func (*CommentsPatchCall) Fields

                                                                                                                                                                                                                                                                                                                            Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                            func (*CommentsPatchCall) Header

                                                                                                                                                                                                                                                                                                                            func (c *CommentsPatchCall) Header() http.Header

                                                                                                                                                                                                                                                                                                                              Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                              type CommentsService

                                                                                                                                                                                                                                                                                                                              type CommentsService struct {
                                                                                                                                                                                                                                                                                                                              	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                              func NewCommentsService

                                                                                                                                                                                                                                                                                                                              func NewCommentsService(s *Service) *CommentsService

                                                                                                                                                                                                                                                                                                                              func (*CommentsService) Delete

                                                                                                                                                                                                                                                                                                                              func (r *CommentsService) Delete(fileId string, commentId string) *CommentsDeleteCall

                                                                                                                                                                                                                                                                                                                                Delete: Deletes a comment.

                                                                                                                                                                                                                                                                                                                                func (*CommentsService) Get

                                                                                                                                                                                                                                                                                                                                func (r *CommentsService) Get(fileId string, commentId string) *CommentsGetCall

                                                                                                                                                                                                                                                                                                                                  Get: Gets a comment by ID.

                                                                                                                                                                                                                                                                                                                                  func (*CommentsService) Insert

                                                                                                                                                                                                                                                                                                                                  func (r *CommentsService) Insert(fileId string, comment *Comment) *CommentsInsertCall

                                                                                                                                                                                                                                                                                                                                    Insert: Creates a new comment on the given file.

                                                                                                                                                                                                                                                                                                                                    func (*CommentsService) List

                                                                                                                                                                                                                                                                                                                                    func (r *CommentsService) List(fileId string) *CommentsListCall

                                                                                                                                                                                                                                                                                                                                      List: Lists a file's comments.

                                                                                                                                                                                                                                                                                                                                      func (*CommentsService) Patch

                                                                                                                                                                                                                                                                                                                                      func (r *CommentsService) Patch(fileId string, commentId string, comment *Comment) *CommentsPatchCall

                                                                                                                                                                                                                                                                                                                                        Patch: Updates an existing comment.

                                                                                                                                                                                                                                                                                                                                        func (*CommentsService) Update

                                                                                                                                                                                                                                                                                                                                        func (r *CommentsService) Update(fileId string, commentId string, comment *Comment) *CommentsUpdateCall

                                                                                                                                                                                                                                                                                                                                          Update: Updates an existing comment.

                                                                                                                                                                                                                                                                                                                                          type CommentsUpdateCall

                                                                                                                                                                                                                                                                                                                                          type CommentsUpdateCall struct {
                                                                                                                                                                                                                                                                                                                                          	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                                                                                                          func (*CommentsUpdateCall) Context

                                                                                                                                                                                                                                                                                                                                            Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                            func (*CommentsUpdateCall) Do

                                                                                                                                                                                                                                                                                                                                              Do executes the "drive.comments.update" call. Exactly one of *Comment or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Comment.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                                                                              func (*CommentsUpdateCall) Fields

                                                                                                                                                                                                                                                                                                                                                Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                func (*CommentsUpdateCall) Header

                                                                                                                                                                                                                                                                                                                                                func (c *CommentsUpdateCall) Header() http.Header

                                                                                                                                                                                                                                                                                                                                                  Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                  type Drive

                                                                                                                                                                                                                                                                                                                                                  type Drive struct {
                                                                                                                                                                                                                                                                                                                                                  	// BackgroundImageFile: An image file and cropping parameters from which
                                                                                                                                                                                                                                                                                                                                                  	// a background image for this shared drive is set. This is a write only
                                                                                                                                                                                                                                                                                                                                                  	// field; it can only be set on drive.drives.update requests that don't
                                                                                                                                                                                                                                                                                                                                                  	// set themeId. When specified, all fields of the backgroundImageFile
                                                                                                                                                                                                                                                                                                                                                  	// must be set.
                                                                                                                                                                                                                                                                                                                                                  	BackgroundImageFile *DriveBackgroundImageFile `json:"backgroundImageFile,omitempty"`
                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                  	// BackgroundImageLink: A short-lived link to this shared drive's
                                                                                                                                                                                                                                                                                                                                                  	// background image.
                                                                                                                                                                                                                                                                                                                                                  	BackgroundImageLink string `json:"backgroundImageLink,omitempty"`
                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                  	// Capabilities: Capabilities the current user has on this shared drive.
                                                                                                                                                                                                                                                                                                                                                  	Capabilities *DriveCapabilities `json:"capabilities,omitempty"`
                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                  	// ColorRgb: The color of this shared drive as an RGB hex string. It can
                                                                                                                                                                                                                                                                                                                                                  	// only be set on a drive.drives.update request that does not set
                                                                                                                                                                                                                                                                                                                                                  	// themeId.
                                                                                                                                                                                                                                                                                                                                                  	ColorRgb string `json:"colorRgb,omitempty"`
                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                  	// CreatedDate: The time at which the shared drive was created (RFC 3339
                                                                                                                                                                                                                                                                                                                                                  	// date-time).
                                                                                                                                                                                                                                                                                                                                                  	CreatedDate string `json:"createdDate,omitempty"`
                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                  	// Hidden: Whether the shared drive is hidden from default view.
                                                                                                                                                                                                                                                                                                                                                  	Hidden bool `json:"hidden,omitempty"`
                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                  	// Id: The ID of this shared drive which is also the ID of the top level
                                                                                                                                                                                                                                                                                                                                                  	// folder of this shared drive.
                                                                                                                                                                                                                                                                                                                                                  	Id string `json:"id,omitempty"`
                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                  	// Kind: This is always drive#drive
                                                                                                                                                                                                                                                                                                                                                  	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                  	// Name: The name of this shared drive.
                                                                                                                                                                                                                                                                                                                                                  	Name string `json:"name,omitempty"`
                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                  	// Restrictions: A set of restrictions that apply to this shared drive
                                                                                                                                                                                                                                                                                                                                                  	// or items inside this shared drive.
                                                                                                                                                                                                                                                                                                                                                  	Restrictions *DriveRestrictions `json:"restrictions,omitempty"`
                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                  	// ThemeId: The ID of the theme from which the background image and
                                                                                                                                                                                                                                                                                                                                                  	// color will be set. The set of possible driveThemes can be retrieved
                                                                                                                                                                                                                                                                                                                                                  	// from a drive.about.get response. When not specified on a
                                                                                                                                                                                                                                                                                                                                                  	// drive.drives.insert request, a random theme is chosen from which the
                                                                                                                                                                                                                                                                                                                                                  	// background image and color are set. This is a write-only field; it
                                                                                                                                                                                                                                                                                                                                                  	// can only be set on requests that don't set colorRgb or
                                                                                                                                                                                                                                                                                                                                                  	// backgroundImageFile.
                                                                                                                                                                                                                                                                                                                                                  	ThemeId string `json:"themeId,omitempty"`
                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                  	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                                                                                                  	// server.
                                                                                                                                                                                                                                                                                                                                                  	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                  	// ForceSendFields is a list of field names (e.g. "BackgroundImageFile")
                                                                                                                                                                                                                                                                                                                                                  	// to unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                  	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                  	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                  	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                  	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                  	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                  	// NullFields is a list of field names (e.g. "BackgroundImageFile") to
                                                                                                                                                                                                                                                                                                                                                  	// include in API requests with the JSON null value. By default, fields
                                                                                                                                                                                                                                                                                                                                                  	// with empty values are omitted from API requests. However, any field
                                                                                                                                                                                                                                                                                                                                                  	// with an empty value appearing in NullFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                  	// server as null. It is an error if a field in this list has a
                                                                                                                                                                                                                                                                                                                                                  	// non-empty value. This may be used to include null fields in Patch
                                                                                                                                                                                                                                                                                                                                                  	// requests.
                                                                                                                                                                                                                                                                                                                                                  	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                    Drive: Representation of a shared drive.

                                                                                                                                                                                                                                                                                                                                                    func (*Drive) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                    func (s *Drive) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                    type DriveBackgroundImageFile

                                                                                                                                                                                                                                                                                                                                                    type DriveBackgroundImageFile struct {
                                                                                                                                                                                                                                                                                                                                                    	// Id: The ID of an image file in Google Drive to use for the background
                                                                                                                                                                                                                                                                                                                                                    	// image.
                                                                                                                                                                                                                                                                                                                                                    	Id string `json:"id,omitempty"`
                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                    	// Width: The width of the cropped image in the closed range of 0 to 1.
                                                                                                                                                                                                                                                                                                                                                    	// This value represents the width of the cropped image divided by the
                                                                                                                                                                                                                                                                                                                                                    	// width of the entire image. The height is computed by applying a width
                                                                                                                                                                                                                                                                                                                                                    	// to height aspect ratio of 80 to 9. The resulting image must be at
                                                                                                                                                                                                                                                                                                                                                    	// least 1280 pixels wide and 144 pixels high.
                                                                                                                                                                                                                                                                                                                                                    	Width float64 `json:"width,omitempty"`
                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                    	// XCoordinate: The X coordinate of the upper left corner of the
                                                                                                                                                                                                                                                                                                                                                    	// cropping area in the background image. This is a value in the closed
                                                                                                                                                                                                                                                                                                                                                    	// range of 0 to 1. This value represents the horizontal distance from
                                                                                                                                                                                                                                                                                                                                                    	// the left side of the entire image to the left side of the cropping
                                                                                                                                                                                                                                                                                                                                                    	// area divided by the width of the entire image.
                                                                                                                                                                                                                                                                                                                                                    	XCoordinate float64 `json:"xCoordinate,omitempty"`
                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                    	// YCoordinate: The Y coordinate of the upper left corner of the
                                                                                                                                                                                                                                                                                                                                                    	// cropping area in the background image. This is a value in the closed
                                                                                                                                                                                                                                                                                                                                                    	// range of 0 to 1. This value represents the vertical distance from the
                                                                                                                                                                                                                                                                                                                                                    	// top side of the entire image to the top side of the cropping area
                                                                                                                                                                                                                                                                                                                                                    	// divided by the height of the entire image.
                                                                                                                                                                                                                                                                                                                                                    	YCoordinate float64 `json:"yCoordinate,omitempty"`
                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                    	// ForceSendFields is a list of field names (e.g. "Id") to
                                                                                                                                                                                                                                                                                                                                                    	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                    	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                    	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                    	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                    	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                    	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                    	// NullFields is a list of field names (e.g. "Id") to include in API
                                                                                                                                                                                                                                                                                                                                                    	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                                                                                                    	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                                                                                                    	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                    	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                    	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                    	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                                                                                      DriveBackgroundImageFile: An image file and cropping parameters from which a background image for this shared drive is set. This is a write only field; it can only be set on drive.drives.update requests that don't set themeId. When specified, all fields of the backgroundImageFile must be set.

                                                                                                                                                                                                                                                                                                                                                      func (*DriveBackgroundImageFile) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                      func (s *DriveBackgroundImageFile) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                      func (*DriveBackgroundImageFile) UnmarshalJSON

                                                                                                                                                                                                                                                                                                                                                      func (s *DriveBackgroundImageFile) UnmarshalJSON(data []byte) error

                                                                                                                                                                                                                                                                                                                                                      type DriveCapabilities

                                                                                                                                                                                                                                                                                                                                                      type DriveCapabilities struct {
                                                                                                                                                                                                                                                                                                                                                      	// CanAddChildren: Whether the current user can add children to folders
                                                                                                                                                                                                                                                                                                                                                      	// in this shared drive.
                                                                                                                                                                                                                                                                                                                                                      	CanAddChildren bool `json:"canAddChildren,omitempty"`
                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                      	// CanChangeCopyRequiresWriterPermissionRestriction: Whether the current
                                                                                                                                                                                                                                                                                                                                                      	// user can change the copyRequiresWriterPermission restriction of this
                                                                                                                                                                                                                                                                                                                                                      	// shared drive.
                                                                                                                                                                                                                                                                                                                                                      	CanChangeCopyRequiresWriterPermissionRestriction bool `json:"canChangeCopyRequiresWriterPermissionRestriction,omitempty"`
                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                      	// CanChangeDomainUsersOnlyRestriction: Whether the current user can
                                                                                                                                                                                                                                                                                                                                                      	// change the domainUsersOnly restriction of this shared drive.
                                                                                                                                                                                                                                                                                                                                                      	CanChangeDomainUsersOnlyRestriction bool `json:"canChangeDomainUsersOnlyRestriction,omitempty"`
                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                      	// CanChangeDriveBackground: Whether the current user can change the
                                                                                                                                                                                                                                                                                                                                                      	// background of this shared drive.
                                                                                                                                                                                                                                                                                                                                                      	CanChangeDriveBackground bool `json:"canChangeDriveBackground,omitempty"`
                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                      	// CanChangeDriveMembersOnlyRestriction: Whether the current user can
                                                                                                                                                                                                                                                                                                                                                      	// change the driveMembersOnly restriction of this shared drive.
                                                                                                                                                                                                                                                                                                                                                      	CanChangeDriveMembersOnlyRestriction bool `json:"canChangeDriveMembersOnlyRestriction,omitempty"`
                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                      	// CanComment: Whether the current user can comment on files in this
                                                                                                                                                                                                                                                                                                                                                      	// shared drive.
                                                                                                                                                                                                                                                                                                                                                      	CanComment bool `json:"canComment,omitempty"`
                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                      	// CanCopy: Whether the current user can copy files in this shared
                                                                                                                                                                                                                                                                                                                                                      	// drive.
                                                                                                                                                                                                                                                                                                                                                      	CanCopy bool `json:"canCopy,omitempty"`
                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                      	// CanDeleteChildren: Whether the current user can delete children from
                                                                                                                                                                                                                                                                                                                                                      	// folders in this shared drive.
                                                                                                                                                                                                                                                                                                                                                      	CanDeleteChildren bool `json:"canDeleteChildren,omitempty"`
                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                      	// CanDeleteDrive: Whether the current user can delete this shared
                                                                                                                                                                                                                                                                                                                                                      	// drive. Attempting to delete the shared drive may still fail if there
                                                                                                                                                                                                                                                                                                                                                      	// are untrashed items inside the shared drive.
                                                                                                                                                                                                                                                                                                                                                      	CanDeleteDrive bool `json:"canDeleteDrive,omitempty"`
                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                      	// CanDownload: Whether the current user can download files in this
                                                                                                                                                                                                                                                                                                                                                      	// shared drive.
                                                                                                                                                                                                                                                                                                                                                      	CanDownload bool `json:"canDownload,omitempty"`
                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                      	// CanEdit: Whether the current user can edit files in this shared drive
                                                                                                                                                                                                                                                                                                                                                      	CanEdit bool `json:"canEdit,omitempty"`
                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                      	// CanListChildren: Whether the current user can list the children of
                                                                                                                                                                                                                                                                                                                                                      	// folders in this shared drive.
                                                                                                                                                                                                                                                                                                                                                      	CanListChildren bool `json:"canListChildren,omitempty"`
                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                      	// CanManageMembers: Whether the current user can add members to this
                                                                                                                                                                                                                                                                                                                                                      	// shared drive or remove them or change their role.
                                                                                                                                                                                                                                                                                                                                                      	CanManageMembers bool `json:"canManageMembers,omitempty"`
                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                      	// CanReadRevisions: Whether the current user can read the revisions
                                                                                                                                                                                                                                                                                                                                                      	// resource of files in this shared drive.
                                                                                                                                                                                                                                                                                                                                                      	CanReadRevisions bool `json:"canReadRevisions,omitempty"`
                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                      	// CanRename: Whether the current user can rename files or folders in
                                                                                                                                                                                                                                                                                                                                                      	// this shared drive.
                                                                                                                                                                                                                                                                                                                                                      	CanRename bool `json:"canRename,omitempty"`
                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                      	// CanRenameDrive: Whether the current user can rename this shared
                                                                                                                                                                                                                                                                                                                                                      	// drive.
                                                                                                                                                                                                                                                                                                                                                      	CanRenameDrive bool `json:"canRenameDrive,omitempty"`
                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                      	// CanShare: Whether the current user can share files or folders in this
                                                                                                                                                                                                                                                                                                                                                      	// shared drive.
                                                                                                                                                                                                                                                                                                                                                      	CanShare bool `json:"canShare,omitempty"`
                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                      	// CanTrashChildren: Whether the current user can trash children from
                                                                                                                                                                                                                                                                                                                                                      	// folders in this shared drive.
                                                                                                                                                                                                                                                                                                                                                      	CanTrashChildren bool `json:"canTrashChildren,omitempty"`
                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                      	// ForceSendFields is a list of field names (e.g. "CanAddChildren") to
                                                                                                                                                                                                                                                                                                                                                      	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                      	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                      	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                      	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                      	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                      	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                      	// NullFields is a list of field names (e.g. "CanAddChildren") to
                                                                                                                                                                                                                                                                                                                                                      	// include in API requests with the JSON null value. By default, fields
                                                                                                                                                                                                                                                                                                                                                      	// with empty values are omitted from API requests. However, any field
                                                                                                                                                                                                                                                                                                                                                      	// with an empty value appearing in NullFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                      	// server as null. It is an error if a field in this list has a
                                                                                                                                                                                                                                                                                                                                                      	// non-empty value. This may be used to include null fields in Patch
                                                                                                                                                                                                                                                                                                                                                      	// requests.
                                                                                                                                                                                                                                                                                                                                                      	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                                                                                                        DriveCapabilities: Capabilities the current user has on this shared drive.

                                                                                                                                                                                                                                                                                                                                                        func (*DriveCapabilities) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                        func (s *DriveCapabilities) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                        type DriveList

                                                                                                                                                                                                                                                                                                                                                        type DriveList struct {
                                                                                                                                                                                                                                                                                                                                                        	// Items: The list of shared drives. If nextPageToken is populated, then
                                                                                                                                                                                                                                                                                                                                                        	// this list may be incomplete and an additional page of results should
                                                                                                                                                                                                                                                                                                                                                        	// be fetched.
                                                                                                                                                                                                                                                                                                                                                        	Items []*Drive `json:"items,omitempty"`
                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                        	// Kind: This is always drive#driveList
                                                                                                                                                                                                                                                                                                                                                        	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                        	// NextPageToken: The page token for the next page of shared drives.
                                                                                                                                                                                                                                                                                                                                                        	// This will be absent if the end of the list has been reached. If the
                                                                                                                                                                                                                                                                                                                                                        	// token is rejected for any reason, it should be discarded, and
                                                                                                                                                                                                                                                                                                                                                        	// pagination should be restarted from the first page of results.
                                                                                                                                                                                                                                                                                                                                                        	NextPageToken string `json:"nextPageToken,omitempty"`
                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                        	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                                                                                                        	// server.
                                                                                                                                                                                                                                                                                                                                                        	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                        	// ForceSendFields is a list of field names (e.g. "Items") to
                                                                                                                                                                                                                                                                                                                                                        	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                        	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                        	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                        	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                        	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                        	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                        	// NullFields is a list of field names (e.g. "Items") to include in API
                                                                                                                                                                                                                                                                                                                                                        	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                                                                                                        	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                                                                                                        	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                        	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                        	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                        	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                                                                                                                                          DriveList: A list of shared drives.

                                                                                                                                                                                                                                                                                                                                                          func (*DriveList) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                          func (s *DriveList) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                          type DriveRestrictions

                                                                                                                                                                                                                                                                                                                                                          type DriveRestrictions struct {
                                                                                                                                                                                                                                                                                                                                                          	// AdminManagedRestrictions: Whether administrative privileges on this
                                                                                                                                                                                                                                                                                                                                                          	// shared drive are required to modify restrictions.
                                                                                                                                                                                                                                                                                                                                                          	AdminManagedRestrictions bool `json:"adminManagedRestrictions,omitempty"`
                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                          	// CopyRequiresWriterPermission: Whether the options to copy, print, or
                                                                                                                                                                                                                                                                                                                                                          	// download files inside this shared drive, should be disabled for
                                                                                                                                                                                                                                                                                                                                                          	// readers and commenters. When this restriction is set to true, it will
                                                                                                                                                                                                                                                                                                                                                          	// override the similarly named field to true for any file inside this
                                                                                                                                                                                                                                                                                                                                                          	// shared drive.
                                                                                                                                                                                                                                                                                                                                                          	CopyRequiresWriterPermission bool `json:"copyRequiresWriterPermission,omitempty"`
                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                          	// DomainUsersOnly: Whether access to this shared drive and items inside
                                                                                                                                                                                                                                                                                                                                                          	// this shared drive is restricted to users of the domain to which this
                                                                                                                                                                                                                                                                                                                                                          	// shared drive belongs. This restriction may be overridden by other
                                                                                                                                                                                                                                                                                                                                                          	// sharing policies controlled outside of this shared drive.
                                                                                                                                                                                                                                                                                                                                                          	DomainUsersOnly bool `json:"domainUsersOnly,omitempty"`
                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                          	// DriveMembersOnly: Whether access to items inside this shared drive is
                                                                                                                                                                                                                                                                                                                                                          	// restricted to its members.
                                                                                                                                                                                                                                                                                                                                                          	DriveMembersOnly bool `json:"driveMembersOnly,omitempty"`
                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                          	// ForceSendFields is a list of field names (e.g.
                                                                                                                                                                                                                                                                                                                                                          	// "AdminManagedRestrictions") to unconditionally include in API
                                                                                                                                                                                                                                                                                                                                                          	// requests. By default, fields with empty values are omitted from API
                                                                                                                                                                                                                                                                                                                                                          	// requests. However, any non-pointer, non-interface field appearing in
                                                                                                                                                                                                                                                                                                                                                          	// ForceSendFields will be sent to the server regardless of whether the
                                                                                                                                                                                                                                                                                                                                                          	// field is empty or not. This may be used to include empty fields in
                                                                                                                                                                                                                                                                                                                                                          	// Patch requests.
                                                                                                                                                                                                                                                                                                                                                          	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                          	// NullFields is a list of field names (e.g. "AdminManagedRestrictions")
                                                                                                                                                                                                                                                                                                                                                          	// to include in API requests with the JSON null value. By default,
                                                                                                                                                                                                                                                                                                                                                          	// fields with empty values are omitted from API requests. However, any
                                                                                                                                                                                                                                                                                                                                                          	// field with an empty value appearing in NullFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                          	// server as null. It is an error if a field in this list has a
                                                                                                                                                                                                                                                                                                                                                          	// non-empty value. This may be used to include null fields in Patch
                                                                                                                                                                                                                                                                                                                                                          	// requests.
                                                                                                                                                                                                                                                                                                                                                          	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                                                                                                                            DriveRestrictions: A set of restrictions that apply to this shared drive or items inside this shared drive.

                                                                                                                                                                                                                                                                                                                                                            func (*DriveRestrictions) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                            func (s *DriveRestrictions) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                            type DrivesDeleteCall

                                                                                                                                                                                                                                                                                                                                                            type DrivesDeleteCall struct {
                                                                                                                                                                                                                                                                                                                                                            	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                                                                                            func (*DrivesDeleteCall) Context

                                                                                                                                                                                                                                                                                                                                                              Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                              func (*DrivesDeleteCall) Do

                                                                                                                                                                                                                                                                                                                                                              func (c *DrivesDeleteCall) Do(opts ...googleapi.CallOption) error

                                                                                                                                                                                                                                                                                                                                                                Do executes the "drive.drives.delete" call.

                                                                                                                                                                                                                                                                                                                                                                func (*DrivesDeleteCall) Fields

                                                                                                                                                                                                                                                                                                                                                                  Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                  func (*DrivesDeleteCall) Header

                                                                                                                                                                                                                                                                                                                                                                  func (c *DrivesDeleteCall) Header() http.Header

                                                                                                                                                                                                                                                                                                                                                                    Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                    type DrivesGetCall

                                                                                                                                                                                                                                                                                                                                                                    type DrivesGetCall struct {
                                                                                                                                                                                                                                                                                                                                                                    	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                                                                                                    func (*DrivesGetCall) Context

                                                                                                                                                                                                                                                                                                                                                                    func (c *DrivesGetCall) Context(ctx context.Context) *DrivesGetCall

                                                                                                                                                                                                                                                                                                                                                                      Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                      func (*DrivesGetCall) Do

                                                                                                                                                                                                                                                                                                                                                                      func (c *DrivesGetCall) Do(opts ...googleapi.CallOption) (*Drive, error)

                                                                                                                                                                                                                                                                                                                                                                        Do executes the "drive.drives.get" call. Exactly one of *Drive or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Drive.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                                                                                                        func (*DrivesGetCall) Fields

                                                                                                                                                                                                                                                                                                                                                                        func (c *DrivesGetCall) Fields(s ...googleapi.Field) *DrivesGetCall

                                                                                                                                                                                                                                                                                                                                                                          Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                          func (*DrivesGetCall) Header

                                                                                                                                                                                                                                                                                                                                                                          func (c *DrivesGetCall) Header() http.Header

                                                                                                                                                                                                                                                                                                                                                                            Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                            func (*DrivesGetCall) IfNoneMatch

                                                                                                                                                                                                                                                                                                                                                                            func (c *DrivesGetCall) IfNoneMatch(entityTag string) *DrivesGetCall

                                                                                                                                                                                                                                                                                                                                                                              IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                                                                                                                                                                                              func (*DrivesGetCall) UseDomainAdminAccess

                                                                                                                                                                                                                                                                                                                                                                              func (c *DrivesGetCall) UseDomainAdminAccess(useDomainAdminAccess bool) *DrivesGetCall

                                                                                                                                                                                                                                                                                                                                                                                UseDomainAdminAccess sets the optional parameter "useDomainAdminAccess": Issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the shared drive belongs.

                                                                                                                                                                                                                                                                                                                                                                                type DrivesHideCall

                                                                                                                                                                                                                                                                                                                                                                                type DrivesHideCall struct {
                                                                                                                                                                                                                                                                                                                                                                                	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                                                                                func (*DrivesHideCall) Context

                                                                                                                                                                                                                                                                                                                                                                                func (c *DrivesHideCall) Context(ctx context.Context) *DrivesHideCall

                                                                                                                                                                                                                                                                                                                                                                                  Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                  func (*DrivesHideCall) Do

                                                                                                                                                                                                                                                                                                                                                                                  func (c *DrivesHideCall) Do(opts ...googleapi.CallOption) (*Drive, error)

                                                                                                                                                                                                                                                                                                                                                                                    Do executes the "drive.drives.hide" call. Exactly one of *Drive or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Drive.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                                                                                                                    func (*DrivesHideCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                    func (c *DrivesHideCall) Fields(s ...googleapi.Field) *DrivesHideCall

                                                                                                                                                                                                                                                                                                                                                                                      Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                      func (*DrivesHideCall) Header

                                                                                                                                                                                                                                                                                                                                                                                      func (c *DrivesHideCall) Header() http.Header

                                                                                                                                                                                                                                                                                                                                                                                        Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                        type DrivesInsertCall

                                                                                                                                                                                                                                                                                                                                                                                        type DrivesInsertCall struct {
                                                                                                                                                                                                                                                                                                                                                                                        	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                                                                                                                                                                        func (*DrivesInsertCall) Context

                                                                                                                                                                                                                                                                                                                                                                                          Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                          func (*DrivesInsertCall) Do

                                                                                                                                                                                                                                                                                                                                                                                          func (c *DrivesInsertCall) Do(opts ...googleapi.CallOption) (*Drive, error)

                                                                                                                                                                                                                                                                                                                                                                                            Do executes the "drive.drives.insert" call. Exactly one of *Drive or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Drive.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                                                                                                                            func (*DrivesInsertCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                              Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                              func (*DrivesInsertCall) Header

                                                                                                                                                                                                                                                                                                                                                                                              func (c *DrivesInsertCall) Header() http.Header

                                                                                                                                                                                                                                                                                                                                                                                                Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                                type DrivesListCall

                                                                                                                                                                                                                                                                                                                                                                                                type DrivesListCall struct {
                                                                                                                                                                                                                                                                                                                                                                                                	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                                                                                                func (*DrivesListCall) Context

                                                                                                                                                                                                                                                                                                                                                                                                func (c *DrivesListCall) Context(ctx context.Context) *DrivesListCall

                                                                                                                                                                                                                                                                                                                                                                                                  Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                                  func (*DrivesListCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                  func (c *DrivesListCall) Do(opts ...googleapi.CallOption) (*DriveList, error)

                                                                                                                                                                                                                                                                                                                                                                                                    Do executes the "drive.drives.list" call. Exactly one of *DriveList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *DriveList.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                                                                                                                                    func (*DrivesListCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                                    func (c *DrivesListCall) Fields(s ...googleapi.Field) *DrivesListCall

                                                                                                                                                                                                                                                                                                                                                                                                      Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                                      func (*DrivesListCall) Header

                                                                                                                                                                                                                                                                                                                                                                                                      func (c *DrivesListCall) Header() http.Header

                                                                                                                                                                                                                                                                                                                                                                                                        Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                                        func (*DrivesListCall) IfNoneMatch

                                                                                                                                                                                                                                                                                                                                                                                                        func (c *DrivesListCall) IfNoneMatch(entityTag string) *DrivesListCall

                                                                                                                                                                                                                                                                                                                                                                                                          IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                                                                                                                                                                                                                          func (*DrivesListCall) MaxResults

                                                                                                                                                                                                                                                                                                                                                                                                          func (c *DrivesListCall) MaxResults(maxResults int64) *DrivesListCall

                                                                                                                                                                                                                                                                                                                                                                                                            MaxResults sets the optional parameter "maxResults": Maximum number of shared drives to return.

                                                                                                                                                                                                                                                                                                                                                                                                            func (*DrivesListCall) PageToken

                                                                                                                                                                                                                                                                                                                                                                                                            func (c *DrivesListCall) PageToken(pageToken string) *DrivesListCall

                                                                                                                                                                                                                                                                                                                                                                                                              PageToken sets the optional parameter "pageToken": Page token for shared drives.

                                                                                                                                                                                                                                                                                                                                                                                                              func (*DrivesListCall) Pages

                                                                                                                                                                                                                                                                                                                                                                                                              func (c *DrivesListCall) Pages(ctx context.Context, f func(*DriveList) error) error

                                                                                                                                                                                                                                                                                                                                                                                                                Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

                                                                                                                                                                                                                                                                                                                                                                                                                func (*DrivesListCall) Q

                                                                                                                                                                                                                                                                                                                                                                                                                  Q sets the optional parameter "q": Query string for searching shared drives.

                                                                                                                                                                                                                                                                                                                                                                                                                  func (*DrivesListCall) UseDomainAdminAccess

                                                                                                                                                                                                                                                                                                                                                                                                                  func (c *DrivesListCall) UseDomainAdminAccess(useDomainAdminAccess bool) *DrivesListCall

                                                                                                                                                                                                                                                                                                                                                                                                                    UseDomainAdminAccess sets the optional parameter "useDomainAdminAccess": Issue the request as a domain administrator; if set to true, then all shared drives of the domain in which the requester is an administrator are returned.

                                                                                                                                                                                                                                                                                                                                                                                                                    type DrivesService

                                                                                                                                                                                                                                                                                                                                                                                                                    type DrivesService struct {
                                                                                                                                                                                                                                                                                                                                                                                                                    	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                                                                                                                                                    func NewDrivesService

                                                                                                                                                                                                                                                                                                                                                                                                                    func NewDrivesService(s *Service) *DrivesService

                                                                                                                                                                                                                                                                                                                                                                                                                    func (*DrivesService) Delete

                                                                                                                                                                                                                                                                                                                                                                                                                    func (r *DrivesService) Delete(driveId string) *DrivesDeleteCall

                                                                                                                                                                                                                                                                                                                                                                                                                      Delete: Permanently deletes a shared drive for which the user is an organizer. The shared drive cannot contain any untrashed items.

                                                                                                                                                                                                                                                                                                                                                                                                                      func (*DrivesService) Get

                                                                                                                                                                                                                                                                                                                                                                                                                      func (r *DrivesService) Get(driveId string) *DrivesGetCall

                                                                                                                                                                                                                                                                                                                                                                                                                        Get: Gets a shared drive's metadata by ID.

                                                                                                                                                                                                                                                                                                                                                                                                                        func (*DrivesService) Hide

                                                                                                                                                                                                                                                                                                                                                                                                                        func (r *DrivesService) Hide(driveId string) *DrivesHideCall

                                                                                                                                                                                                                                                                                                                                                                                                                          Hide: Hides a shared drive from the default view.

                                                                                                                                                                                                                                                                                                                                                                                                                          func (*DrivesService) Insert

                                                                                                                                                                                                                                                                                                                                                                                                                          func (r *DrivesService) Insert(requestId string, drive *Drive) *DrivesInsertCall

                                                                                                                                                                                                                                                                                                                                                                                                                            Insert: Creates a new shared drive.

                                                                                                                                                                                                                                                                                                                                                                                                                            func (*DrivesService) List

                                                                                                                                                                                                                                                                                                                                                                                                                            func (r *DrivesService) List() *DrivesListCall

                                                                                                                                                                                                                                                                                                                                                                                                                              List: Lists the user's shared drives.

                                                                                                                                                                                                                                                                                                                                                                                                                              func (*DrivesService) Unhide

                                                                                                                                                                                                                                                                                                                                                                                                                              func (r *DrivesService) Unhide(driveId string) *DrivesUnhideCall

                                                                                                                                                                                                                                                                                                                                                                                                                                Unhide: Restores a shared drive to the default view.

                                                                                                                                                                                                                                                                                                                                                                                                                                func (*DrivesService) Update

                                                                                                                                                                                                                                                                                                                                                                                                                                func (r *DrivesService) Update(driveId string, drive *Drive) *DrivesUpdateCall

                                                                                                                                                                                                                                                                                                                                                                                                                                  Update: Updates the metadata for a shared drive.

                                                                                                                                                                                                                                                                                                                                                                                                                                  type DrivesUnhideCall

                                                                                                                                                                                                                                                                                                                                                                                                                                  type DrivesUnhideCall struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                  	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*DrivesUnhideCall) Context

                                                                                                                                                                                                                                                                                                                                                                                                                                    Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*DrivesUnhideCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                                                    func (c *DrivesUnhideCall) Do(opts ...googleapi.CallOption) (*Drive, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                      Do executes the "drive.drives.unhide" call. Exactly one of *Drive or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Drive.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*DrivesUnhideCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                                                                        Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*DrivesUnhideCall) Header

                                                                                                                                                                                                                                                                                                                                                                                                                                        func (c *DrivesUnhideCall) Header() http.Header

                                                                                                                                                                                                                                                                                                                                                                                                                                          Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                                                                          type DrivesUpdateCall

                                                                                                                                                                                                                                                                                                                                                                                                                                          type DrivesUpdateCall struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                          	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*DrivesUpdateCall) Context

                                                                                                                                                                                                                                                                                                                                                                                                                                            Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*DrivesUpdateCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                                                            func (c *DrivesUpdateCall) Do(opts ...googleapi.CallOption) (*Drive, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                              Do executes the "drive.drives.update" call. Exactly one of *Drive or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Drive.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*DrivesUpdateCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                                                                                Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*DrivesUpdateCall) Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                func (c *DrivesUpdateCall) Header() http.Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*DrivesUpdateCall) UseDomainAdminAccess

                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (c *DrivesUpdateCall) UseDomainAdminAccess(useDomainAdminAccess bool) *DrivesUpdateCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                    UseDomainAdminAccess sets the optional parameter "useDomainAdminAccess": Issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the shared drive belongs.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    type File

                                                                                                                                                                                                                                                                                                                                                                                                                                                    type File struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// AlternateLink: A link for opening the file in a relevant Google
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// editor or viewer.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	AlternateLink string `json:"alternateLink,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// AppDataContents: Whether this file is in the Application Data folder.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	AppDataContents bool `json:"appDataContents,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// CanComment: Deprecated: use capabilities/canComment.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	CanComment bool `json:"canComment,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// CanReadRevisions: Deprecated: use capabilities/canReadRevisions.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	CanReadRevisions bool `json:"canReadRevisions,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// Capabilities: Capabilities the current user has on this file. Each
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// capability corresponds to a fine-grained action that a user may take.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	Capabilities *FileCapabilities `json:"capabilities,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// CopyRequiresWriterPermission: Whether the options to copy, print, or
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// download this file, should be disabled for readers and commenters.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	CopyRequiresWriterPermission bool `json:"copyRequiresWriterPermission,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// Copyable: Deprecated: use capabilities/canCopy.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	Copyable bool `json:"copyable,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// CreatedDate: Create time for this file (formatted RFC 3339
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// timestamp).
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	CreatedDate string `json:"createdDate,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// DefaultOpenWithLink: A link to open this file with the user's default
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// app for this file. Only populated when the drive.apps.readonly scope
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// is used.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	DefaultOpenWithLink string `json:"defaultOpenWithLink,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// Description: A short description of the file.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	Description string `json:"description,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// DownloadUrl: Short lived download URL for the file. This field is
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// only populated for files with content stored in Google Drive; it is
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// not populated for Google Docs or shortcut files.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	DownloadUrl string `json:"downloadUrl,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// DriveId: ID of the shared drive the file resides in. Only populated
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// for items in shared drives.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	DriveId string `json:"driveId,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// Editable: Deprecated: use capabilities/canEdit.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	Editable bool `json:"editable,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// EmbedLink: A link for embedding the file.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	EmbedLink string `json:"embedLink,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// Etag: ETag of the file.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	Etag string `json:"etag,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// ExplicitlyTrashed: Whether this file has been explicitly trashed, as
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// opposed to recursively trashed.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	ExplicitlyTrashed bool `json:"explicitlyTrashed,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// ExportLinks: Links for exporting Google Docs to specific formats.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	ExportLinks map[string]string `json:"exportLinks,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// FileExtension: The final component of fullFileExtension with trailing
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// text that does not appear to be part of the extension removed. This
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// field is only populated for files with content stored in Google
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// Drive; it is not populated for Google Docs or shortcut files.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	FileExtension string `json:"fileExtension,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// FileSize: The size of the file in bytes. This field is only populated
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// for files with content stored in Google Drive; it is not populated
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// for Google Docs or shortcut files.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	FileSize int64 `json:"fileSize,omitempty,string"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// FolderColorRgb: Folder color as an RGB hex string if the file is a
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// folder. The list of supported colors is available in the
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// folderColorPalette field of the About resource. If an unsupported
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// color is specified, it will be changed to the closest color in the
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// palette. Not populated for items in shared drives.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	FolderColorRgb string `json:"folderColorRgb,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// FullFileExtension: The full file extension; extracted from the title.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// May contain multiple concatenated extensions, such as "tar.gz".
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// Removing an extension from the title does not clear this field;
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// however, changing the extension on the title does update this field.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// This field is only populated for files with content stored in Google
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// Drive; it is not populated for Google Docs or shortcut files.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	FullFileExtension string `json:"fullFileExtension,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// HasAugmentedPermissions: Whether there are permissions directly on
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// this file. This field is only populated for items in shared drives.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	HasAugmentedPermissions bool `json:"hasAugmentedPermissions,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// HasThumbnail: Whether this file has a thumbnail. This does not
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// indicate whether the requesting app has access to the thumbnail. To
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// check access, look for the presence of the thumbnailLink field.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	HasThumbnail bool `json:"hasThumbnail,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// HeadRevisionId: The ID of the file's head revision. This field is
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// only populated for files with content stored in Google Drive; it is
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// not populated for Google Docs or shortcut files.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	HeadRevisionId string `json:"headRevisionId,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// IconLink: A link to the file's icon.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	IconLink string `json:"iconLink,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// Id: The ID of the file.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	Id string `json:"id,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// ImageMediaMetadata: Metadata about image media. This will only be
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// present for image types, and its contents will depend on what can be
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// parsed from the image content.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	ImageMediaMetadata *FileImageMediaMetadata `json:"imageMediaMetadata,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// IndexableText: Indexable text attributes for the file (can only be
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// written)
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	IndexableText *FileIndexableText `json:"indexableText,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// IsAppAuthorized: Whether the file was created or opened by the
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// requesting app.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	IsAppAuthorized bool `json:"isAppAuthorized,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// Kind: The type of file. This is always drive#file.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// Labels: A group of labels for the file.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	Labels *FileLabels `json:"labels,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// LastModifyingUser: The last user to modify this file.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	LastModifyingUser *User `json:"lastModifyingUser,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// LastModifyingUserName: Name of the last user to modify this file.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	LastModifyingUserName string `json:"lastModifyingUserName,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// LastViewedByMeDate: Last time this file was viewed by the user
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// (formatted RFC 3339 timestamp).
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	LastViewedByMeDate string `json:"lastViewedByMeDate,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// MarkedViewedByMeDate: Deprecated.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	MarkedViewedByMeDate string `json:"markedViewedByMeDate,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// Md5Checksum: An MD5 checksum for the content of this file. This field
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// is only populated for files with content stored in Google Drive; it
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// is not populated for Google Docs or shortcut files.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	Md5Checksum string `json:"md5Checksum,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// MimeType: The MIME type of the file. This is only mutable on update
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// when uploading new content. This field can be left blank, and the
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// mimetype will be determined from the uploaded content's MIME type.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	MimeType string `json:"mimeType,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// ModifiedByMeDate: Last time this file was modified by the user
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// (formatted RFC 3339 timestamp). Note that setting modifiedDate will
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// also update the modifiedByMe date for the user which set the date.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	ModifiedByMeDate string `json:"modifiedByMeDate,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// ModifiedDate: Last time this file was modified by anyone (formatted
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// RFC 3339 timestamp). This is only mutable on update when the
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// setModifiedDate parameter is set.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	ModifiedDate string `json:"modifiedDate,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// OpenWithLinks: A map of the id of each of the user's apps to a link
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// to open this file with that app. Only populated when the
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// drive.apps.readonly scope is used.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	OpenWithLinks map[string]string `json:"openWithLinks,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// OriginalFilename: The original filename of the uploaded content if
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// available, or else the original value of the title field. This is
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// only available for files with binary content in Google Drive.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	OriginalFilename string `json:"originalFilename,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// OwnedByMe: Whether the file is owned by the current user. Not
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// populated for items in shared drives.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	OwnedByMe bool `json:"ownedByMe,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// OwnerNames: Name(s) of the owner(s) of this file. Not populated for
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// items in shared drives.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	OwnerNames []string `json:"ownerNames,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// Owners: The owner(s) of this file. Not populated for items in shared
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// drives.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	Owners []*User `json:"owners,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// Parents: Collection of parent folders which contain this file.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// If not specified as part of an insert request, the file will be
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// placed directly in the user's My Drive folder. If not specified as
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// part of a copy request, the file will inherit any discoverable
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// parents of the source file. Update requests can also use the
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// addParents and removeParents parameters to modify the parents list.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	Parents []*ParentReference `json:"parents,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// PermissionIds: List of permission IDs for users with access to this
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// file.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	PermissionIds []string `json:"permissionIds,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// Permissions: The list of permissions for users with access to this
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// file. Not populated for items in shared drives.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	Permissions []*Permission `json:"permissions,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// Properties: The list of properties.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	Properties []*Property `json:"properties,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// QuotaBytesUsed: The number of quota bytes used by this file.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	QuotaBytesUsed int64 `json:"quotaBytesUsed,omitempty,string"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// SelfLink: A link back to this file.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	SelfLink string `json:"selfLink,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// Shareable: Deprecated: use capabilities/canShare.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	Shareable bool `json:"shareable,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// Shared: Whether the file has been shared. Not populated for items in
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// shared drives.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	Shared bool `json:"shared,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// SharedWithMeDate: Time at which this file was shared with the user
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// (formatted RFC 3339 timestamp).
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	SharedWithMeDate string `json:"sharedWithMeDate,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// SharingUser: User that shared the item with the current user, if
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// available.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	SharingUser *User `json:"sharingUser,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// Spaces: The list of spaces which contain the file. Supported values
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// are 'drive', 'appDataFolder' and 'photos'.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	Spaces []string `json:"spaces,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// TeamDriveId: Deprecated - use driveId instead.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	TeamDriveId string `json:"teamDriveId,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// Thumbnail: A thumbnail for the file. This will only be used if a
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// standard thumbnail cannot be generated.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	Thumbnail *FileThumbnail `json:"thumbnail,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// ThumbnailLink: A short-lived link to the file's thumbnail. Typically
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// lasts on the order of hours. Only populated when the requesting app
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// can access the file's content.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	ThumbnailLink string `json:"thumbnailLink,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// ThumbnailVersion: The thumbnail version for use in thumbnail cache
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// invalidation.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	ThumbnailVersion int64 `json:"thumbnailVersion,omitempty,string"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// Title: The title of this file. Note that for immutable items such as
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// the top level folders of shared drives, My Drive root folder, and
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// Application Data folder the title is constant.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	Title string `json:"title,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// TrashedDate: The time that the item was trashed (formatted RFC 3339
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// timestamp). Only populated for items in shared drives.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	TrashedDate string `json:"trashedDate,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// TrashingUser: If the file has been explicitly trashed, the user who
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// trashed it. Only populated for items in shared drives.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	TrashingUser *User `json:"trashingUser,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// UserPermission: The permissions for the authenticated user on this
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// file.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	UserPermission *Permission `json:"userPermission,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// Version: A monotonically increasing version number for the file. This
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// reflects every change made to the file on the server, even those not
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// visible to the requesting user.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	Version int64 `json:"version,omitempty,string"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// VideoMediaMetadata: Metadata about video media. This will only be
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// present for video types.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	VideoMediaMetadata *FileVideoMediaMetadata `json:"videoMediaMetadata,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// WebContentLink: A link for downloading the content of the file in a
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// browser using cookie based authentication. In cases where the content
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// is shared publicly, the content can be downloaded without any
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// credentials.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	WebContentLink string `json:"webContentLink,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// WebViewLink: A link only available on public folders for viewing
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// their static web assets (HTML, CSS, JS, etc) via Google Drive's
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// Website Hosting.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	WebViewLink string `json:"webViewLink,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// WritersCanShare: Whether writers can share the document with other
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// users. Not populated for items in shared drives.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	WritersCanShare bool `json:"writersCanShare,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// server.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// ForceSendFields is a list of field names (e.g. "AlternateLink") to
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// NullFields is a list of field names (e.g. "AlternateLink") to include
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// in API requests with the JSON null value. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// empty values are omitted from API requests. However, any field with
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// an empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                                                                                                                                                                                      File: The metadata for a file.

                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*File) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (s *File) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                      type FileCapabilities

                                                                                                                                                                                                                                                                                                                                                                                                                                                      type FileCapabilities struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// CanAddChildren: Whether the current user can add children to this
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// folder. This is always false when the item is not a folder.
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	CanAddChildren bool `json:"canAddChildren,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// CanChangeCopyRequiresWriterPermission: Whether the current user can
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// change the copyRequiresWriterPermission restriction of this file.
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	CanChangeCopyRequiresWriterPermission bool `json:"canChangeCopyRequiresWriterPermission,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// CanChangeRestrictedDownload: Deprecated
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	CanChangeRestrictedDownload bool `json:"canChangeRestrictedDownload,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// CanComment: Whether the current user can comment on this file.
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	CanComment bool `json:"canComment,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// CanCopy: Whether the current user can copy this file. For an item in
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// a shared drive, whether the current user can copy non-folder
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// descendants of this item, or this item itself if it is not a folder.
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	CanCopy bool `json:"canCopy,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// CanDelete: Whether the current user can delete this file.
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	CanDelete bool `json:"canDelete,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// CanDeleteChildren: Whether the current user can delete children of
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// this folder. This is false when the item is not a folder. Only
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// populated for items in shared drives.
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	CanDeleteChildren bool `json:"canDeleteChildren,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// CanDownload: Whether the current user can download this file.
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	CanDownload bool `json:"canDownload,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// CanEdit: Whether the current user can edit this file. Other factors
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// may limit the type of changes a user can make to a file. For example,
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// see canChangeCopyRequiresWriterPermission or canModifyContent.
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	CanEdit bool `json:"canEdit,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// CanListChildren: Whether the current user can list the children of
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// this folder. This is always false when the item is not a folder.
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	CanListChildren bool `json:"canListChildren,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// CanModifyContent: Whether the current user can modify the content of
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// this file.
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	CanModifyContent bool `json:"canModifyContent,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// CanMoveChildrenOutOfDrive: Whether the current user can move children
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// of this folder outside of the shared drive. This is false when the
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// item is not a folder. Only populated for items in shared drives.
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	CanMoveChildrenOutOfDrive bool `json:"canMoveChildrenOutOfDrive,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// CanMoveChildrenOutOfTeamDrive: Deprecated - use
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// canMoveChildrenOutOfDrive instead.
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	CanMoveChildrenOutOfTeamDrive bool `json:"canMoveChildrenOutOfTeamDrive,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// CanMoveChildrenWithinDrive: Whether the current user can move
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// children of this folder within the shared drive. This is false when
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// the item is not a folder. Only populated for items in shared drives.
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	CanMoveChildrenWithinDrive bool `json:"canMoveChildrenWithinDrive,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// CanMoveChildrenWithinTeamDrive: Deprecated - use
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// canMoveChildrenWithinDrive instead.
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	CanMoveChildrenWithinTeamDrive bool `json:"canMoveChildrenWithinTeamDrive,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// CanMoveItemIntoTeamDrive: Deprecated - use canMoveItemOutOfDrive
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// instead.
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	CanMoveItemIntoTeamDrive bool `json:"canMoveItemIntoTeamDrive,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// CanMoveItemOutOfDrive: Whether the current user can move this item
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// outside of this drive by changing its parent. Note that a request to
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// change the parent of the item may still fail depending on the new
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// parent that is being added.
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	CanMoveItemOutOfDrive bool `json:"canMoveItemOutOfDrive,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// CanMoveItemOutOfTeamDrive: Deprecated - use canMoveItemOutOfDrive
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// instead.
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	CanMoveItemOutOfTeamDrive bool `json:"canMoveItemOutOfTeamDrive,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// CanMoveItemWithinDrive: Whether the current user can move this item
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// within this shared drive. Note that a request to change the parent of
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// the item may still fail depending on the new parent that is being
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// added. Only populated for items in shared drives.
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	CanMoveItemWithinDrive bool `json:"canMoveItemWithinDrive,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// CanMoveItemWithinTeamDrive: Deprecated - use canMoveItemWithinDrive
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// instead.
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	CanMoveItemWithinTeamDrive bool `json:"canMoveItemWithinTeamDrive,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// CanMoveTeamDriveItem: Deprecated - use canMoveItemWithinDrive or
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// canMoveItemOutOfDrive instead.
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	CanMoveTeamDriveItem bool `json:"canMoveTeamDriveItem,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// CanReadDrive: Whether the current user can read the shared drive to
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// which this file belongs. Only populated for items in shared drives.
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	CanReadDrive bool `json:"canReadDrive,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// CanReadRevisions: Whether the current user can read the revisions
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// resource of this file. For a shared drive item, whether revisions of
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// non-folder descendants of this item, or this item itself if it is not
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// a folder, can be read.
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	CanReadRevisions bool `json:"canReadRevisions,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// CanReadTeamDrive: Deprecated - use canReadDrive instead.
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	CanReadTeamDrive bool `json:"canReadTeamDrive,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// CanRemoveChildren: Whether the current user can remove children from
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// this folder. This is always false when the item is not a folder. For
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// a folder in a shared drive, use canDeleteChildren or canTrashChildren
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// instead.
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	CanRemoveChildren bool `json:"canRemoveChildren,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// CanRename: Whether the current user can rename this file.
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	CanRename bool `json:"canRename,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// CanShare: Whether the current user can modify the sharing settings
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// for this file.
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	CanShare bool `json:"canShare,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// CanTrash: Whether the current user can move this file to trash.
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	CanTrash bool `json:"canTrash,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// CanTrashChildren: Whether the current user can trash children of this
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// folder. This is false when the item is not a folder. Only populated
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// for items in shared drives.
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	CanTrashChildren bool `json:"canTrashChildren,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// CanUntrash: Whether the current user can restore this file from
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// trash.
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	CanUntrash bool `json:"canUntrash,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// ForceSendFields is a list of field names (e.g. "CanAddChildren") to
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// NullFields is a list of field names (e.g. "CanAddChildren") to
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// include in API requests with the JSON null value. By default, fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// with empty values are omitted from API requests. However, any field
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// with an empty value appearing in NullFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// server as null. It is an error if a field in this list has a
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// non-empty value. This may be used to include null fields in Patch
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                                                                                                                                                                                                        FileCapabilities: Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.

                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*FileCapabilities) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (s *FileCapabilities) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                        type FileImageMediaMetadata

                                                                                                                                                                                                                                                                                                                                                                                                                                                        type FileImageMediaMetadata struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// Aperture: The aperture used to create the photo (f-number).
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	Aperture float64 `json:"aperture,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// CameraMake: The make of the camera used to create the photo.
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	CameraMake string `json:"cameraMake,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// CameraModel: The model of the camera used to create the photo.
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	CameraModel string `json:"cameraModel,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// ColorSpace: The color space of the photo.
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	ColorSpace string `json:"colorSpace,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// Date: The date and time the photo was taken (EXIF format timestamp).
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	Date string `json:"date,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// ExposureBias: The exposure bias of the photo (APEX value).
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	ExposureBias float64 `json:"exposureBias,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// ExposureMode: The exposure mode used to create the photo.
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	ExposureMode string `json:"exposureMode,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// ExposureTime: The length of the exposure, in seconds.
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	ExposureTime float64 `json:"exposureTime,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// FlashUsed: Whether a flash was used to create the photo.
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	FlashUsed bool `json:"flashUsed,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// FocalLength: The focal length used to create the photo, in
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// millimeters.
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	FocalLength float64 `json:"focalLength,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// Height: The height of the image in pixels.
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	Height int64 `json:"height,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// IsoSpeed: The ISO speed used to create the photo.
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	IsoSpeed int64 `json:"isoSpeed,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// Lens: The lens used to create the photo.
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	Lens string `json:"lens,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// Location: Geographic location information stored in the image.
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	Location *FileImageMediaMetadataLocation `json:"location,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// MaxApertureValue: The smallest f-number of the lens at the focal
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// length used to create the photo (APEX value).
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	MaxApertureValue float64 `json:"maxApertureValue,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// MeteringMode: The metering mode used to create the photo.
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	MeteringMode string `json:"meteringMode,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// Rotation: The rotation in clockwise degrees from the image's original
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// orientation.
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	Rotation int64 `json:"rotation,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// Sensor: The type of sensor used to create the photo.
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	Sensor string `json:"sensor,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// SubjectDistance: The distance to the subject of the photo, in meters.
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	SubjectDistance int64 `json:"subjectDistance,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// WhiteBalance: The white balance mode used to create the photo.
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	WhiteBalance string `json:"whiteBalance,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// Width: The width of the image in pixels.
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	Width int64 `json:"width,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// ForceSendFields is a list of field names (e.g. "Aperture") to
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// NullFields is a list of field names (e.g. "Aperture") to include in
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// API requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                                                                                                                                                                                                                                          FileImageMediaMetadata: Metadata about image media. This will only be present for image types, and its contents will depend on what can be parsed from the image content.

                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*FileImageMediaMetadata) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (s *FileImageMediaMetadata) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*FileImageMediaMetadata) UnmarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (s *FileImageMediaMetadata) UnmarshalJSON(data []byte) error

                                                                                                                                                                                                                                                                                                                                                                                                                                                          type FileImageMediaMetadataLocation

                                                                                                                                                                                                                                                                                                                                                                                                                                                          type FileImageMediaMetadataLocation struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// Altitude: The altitude stored in the image.
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	Altitude float64 `json:"altitude,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// Latitude: The latitude stored in the image.
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	Latitude float64 `json:"latitude,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// Longitude: The longitude stored in the image.
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	Longitude float64 `json:"longitude,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// ForceSendFields is a list of field names (e.g. "Altitude") to
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// NullFields is a list of field names (e.g. "Altitude") to include in
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// API requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                                                                                                                                                                                                                            FileImageMediaMetadataLocation: Geographic location information stored in the image.

                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*FileImageMediaMetadataLocation) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (s *FileImageMediaMetadataLocation) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*FileImageMediaMetadataLocation) UnmarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (s *FileImageMediaMetadataLocation) UnmarshalJSON(data []byte) error

                                                                                                                                                                                                                                                                                                                                                                                                                                                            type FileIndexableText

                                                                                                                                                                                                                                                                                                                                                                                                                                                            type FileIndexableText struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// Text: The text to be indexed for this file.
                                                                                                                                                                                                                                                                                                                                                                                                                                                            	Text string `json:"text,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// ForceSendFields is a list of field names (e.g. "Text") to
                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                            	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// NullFields is a list of field names (e.g. "Text") to include in API
                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                            	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                                                                                                                                                                                              FileIndexableText: Indexable text attributes for the file (can only be written)

                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*FileIndexableText) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (s *FileIndexableText) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                              type FileLabels

                                                                                                                                                                                                                                                                                                                                                                                                                                                              type FileLabels struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// Hidden: Deprecated.
                                                                                                                                                                                                                                                                                                                                                                                                                                                              	Hidden bool `json:"hidden,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// Modified: Whether the file has been modified by this user.
                                                                                                                                                                                                                                                                                                                                                                                                                                                              	Modified bool `json:"modified,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// Restricted: Deprecated - use copyRequiresWriterPermission instead.
                                                                                                                                                                                                                                                                                                                                                                                                                                                              	Restricted bool `json:"restricted,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// Starred: Whether this file is starred by the user.
                                                                                                                                                                                                                                                                                                                                                                                                                                                              	Starred bool `json:"starred,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// Trashed: Whether this file has been trashed. This label applies to
                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// all users accessing the file; however, only owners are allowed to see
                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// and untrash files.
                                                                                                                                                                                                                                                                                                                                                                                                                                                              	Trashed bool `json:"trashed,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// Viewed: Whether this file has been viewed by this user.
                                                                                                                                                                                                                                                                                                                                                                                                                                                              	Viewed bool `json:"viewed,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// ForceSendFields is a list of field names (e.g. "Hidden") to
                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                              	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// NullFields is a list of field names (e.g. "Hidden") to include in API
                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                              	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                FileLabels: A group of labels for the file.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*FileLabels) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (s *FileLabels) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                type FileList

                                                                                                                                                                                                                                                                                                                                                                                                                                                                type FileList struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// Etag: The ETag of the list.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	Etag string `json:"etag,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// IncompleteSearch: Whether the search process was incomplete. If true,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// then some search results may be missing, since all documents were not
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// searched. This may occur when searching multiple drives with the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// "allDrives" corpora, but all corpora could not be searched. When this
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// happens, it is suggested that clients narrow their query by choosing
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// a different corpus such as "default" or "drive".
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	IncompleteSearch bool `json:"incompleteSearch,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// Items: The list of files. If nextPageToken is populated, then this
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// list may be incomplete and an additional page of results should be
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// fetched.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	Items []*File `json:"items,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// Kind: This is always drive#fileList.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// NextLink: A link to the next page of files.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	NextLink string `json:"nextLink,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// NextPageToken: The page token for the next page of files. This will
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// be absent if the end of the files list has been reached. If the token
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// is rejected for any reason, it should be discarded, and pagination
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// should be restarted from the first page of results.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	NextPageToken string `json:"nextPageToken,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// SelfLink: A link back to this list.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	SelfLink string `json:"selfLink,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// server.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// ForceSendFields is a list of field names (e.g. "Etag") to
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// NullFields is a list of field names (e.g. "Etag") to include in API
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  FileList: A list of files.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*FileList) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (s *FileList) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type FileThumbnail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type FileThumbnail struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// Image: The URL-safe Base64 encoded bytes of the thumbnail image. It
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// should conform to RFC 4648 section 5.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	Image string `json:"image,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// MimeType: The MIME type of the thumbnail.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	MimeType string `json:"mimeType,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// ForceSendFields is a list of field names (e.g. "Image") to
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// NullFields is a list of field names (e.g. "Image") to include in API
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    FileThumbnail: A thumbnail for the file. This will only be used if a standard thumbnail cannot be generated.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*FileThumbnail) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (s *FileThumbnail) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type FileVideoMediaMetadata

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type FileVideoMediaMetadata struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// DurationMillis: The duration of the video in milliseconds.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	DurationMillis int64 `json:"durationMillis,omitempty,string"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// Height: The height of the video in pixels.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	Height int64 `json:"height,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// Width: The width of the video in pixels.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	Width int64 `json:"width,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// ForceSendFields is a list of field names (e.g. "DurationMillis") to
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// NullFields is a list of field names (e.g. "DurationMillis") to
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// include in API requests with the JSON null value. By default, fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// with empty values are omitted from API requests. However, any field
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// with an empty value appearing in NullFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// server as null. It is an error if a field in this list has a
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// non-empty value. This may be used to include null fields in Patch
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      FileVideoMediaMetadata: Metadata about video media. This will only be present for video types.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*FileVideoMediaMetadata) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (s *FileVideoMediaMetadata) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type FilesCopyCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type FilesCopyCall struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*FilesCopyCall) Context

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (c *FilesCopyCall) Context(ctx context.Context) *FilesCopyCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*FilesCopyCall) Convert

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (c *FilesCopyCall) Convert(convert bool) *FilesCopyCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Convert sets the optional parameter "convert": Whether to convert this file to the corresponding Google Docs format.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*FilesCopyCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (c *FilesCopyCall) Do(opts ...googleapi.CallOption) (*File, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Do executes the "drive.files.copy" call. Exactly one of *File or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *File.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*FilesCopyCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (c *FilesCopyCall) Fields(s ...googleapi.Field) *FilesCopyCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*FilesCopyCall) Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (c *FilesCopyCall) Header() http.Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*FilesCopyCall) Ocr

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (c *FilesCopyCall) Ocr(ocr bool) *FilesCopyCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Ocr sets the optional parameter "ocr": Whether to attempt OCR on .jpg, .png, .gif, or .pdf uploads.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*FilesCopyCall) OcrLanguage

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (c *FilesCopyCall) OcrLanguage(ocrLanguage string) *FilesCopyCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    OcrLanguage sets the optional parameter "ocrLanguage": If ocr is true, hints at the language to use. Valid values are BCP 47 codes.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*FilesCopyCall) Pinned

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (c *FilesCopyCall) Pinned(pinned bool) *FilesCopyCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Pinned sets the optional parameter "pinned": Whether to pin the head revision of the new copy. A file can have a maximum of 200 pinned revisions.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*FilesCopyCall) SupportsAllDrives

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (c *FilesCopyCall) SupportsAllDrives(supportsAllDrives bool) *FilesCopyCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        SupportsAllDrives sets the optional parameter "supportsAllDrives": Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*FilesCopyCall) SupportsTeamDrives

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (c *FilesCopyCall) SupportsTeamDrives(supportsTeamDrives bool) *FilesCopyCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          SupportsTeamDrives sets the optional parameter "supportsTeamDrives": Deprecated use supportsAllDrives instead.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*FilesCopyCall) TimedTextLanguage

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (c *FilesCopyCall) TimedTextLanguage(timedTextLanguage string) *FilesCopyCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            TimedTextLanguage sets the optional parameter "timedTextLanguage": The language of the timed text.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*FilesCopyCall) TimedTextTrackName

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (c *FilesCopyCall) TimedTextTrackName(timedTextTrackName string) *FilesCopyCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              TimedTextTrackName sets the optional parameter "timedTextTrackName": The timed text track name.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*FilesCopyCall) Visibility

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (c *FilesCopyCall) Visibility(visibility string) *FilesCopyCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Visibility sets the optional parameter "visibility": The visibility of the new file. This parameter is only relevant when the source is not a native Google Doc and convert=false.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Possible values:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                "DEFAULT" (default) - The visibility of the new file is determined
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                by the user's default visibility/sharing policies.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                "PRIVATE" - The new file will be visible to only the owner.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type FilesDeleteCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type FilesDeleteCall struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*FilesDeleteCall) Context

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*FilesDeleteCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (c *FilesDeleteCall) Do(opts ...googleapi.CallOption) error

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Do executes the "drive.files.delete" call.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*FilesDeleteCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*FilesDeleteCall) Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (c *FilesDeleteCall) Header() http.Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*FilesDeleteCall) SupportsAllDrives

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (c *FilesDeleteCall) SupportsAllDrives(supportsAllDrives bool) *FilesDeleteCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          SupportsAllDrives sets the optional parameter "supportsAllDrives": Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*FilesDeleteCall) SupportsTeamDrives

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (c *FilesDeleteCall) SupportsTeamDrives(supportsTeamDrives bool) *FilesDeleteCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            SupportsTeamDrives sets the optional parameter "supportsTeamDrives": Deprecated use supportsAllDrives instead.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type FilesEmptyTrashCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type FilesEmptyTrashCall struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*FilesEmptyTrashCall) Context

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*FilesEmptyTrashCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Do executes the "drive.files.emptyTrash" call.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*FilesEmptyTrashCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*FilesEmptyTrashCall) Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (c *FilesEmptyTrashCall) Header() http.Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type FilesExportCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type FilesExportCall struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*FilesExportCall) Context

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Context sets the context to be used in this call's Do and Download methods. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*FilesExportCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (c *FilesExportCall) Do(opts ...googleapi.CallOption) error

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Do executes the "drive.files.export" call.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*FilesExportCall) Download

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (c *FilesExportCall) Download(opts ...googleapi.CallOption) (*http.Response, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Download fetches the API endpoint's "media" value, instead of the normal API response value. If the returned error is nil, the Response is guaranteed to have a 2xx status code. Callers must close the Response.Body as usual.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*FilesExportCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*FilesExportCall) Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (c *FilesExportCall) Header() http.Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*FilesExportCall) IfNoneMatch

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (c *FilesExportCall) IfNoneMatch(entityTag string) *FilesExportCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type FilesGenerateIdsCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type FilesGenerateIdsCall struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*FilesGenerateIdsCall) Context

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*FilesGenerateIdsCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Do executes the "drive.files.generateIds" call. Exactly one of *GeneratedIds or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GeneratedIds.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*FilesGenerateIdsCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*FilesGenerateIdsCall) Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (c *FilesGenerateIdsCall) Header() http.Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*FilesGenerateIdsCall) IfNoneMatch

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (c *FilesGenerateIdsCall) IfNoneMatch(entityTag string) *FilesGenerateIdsCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*FilesGenerateIdsCall) MaxResults

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (c *FilesGenerateIdsCall) MaxResults(maxResults int64) *FilesGenerateIdsCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            MaxResults sets the optional parameter "maxResults": Maximum number of IDs to return.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*FilesGenerateIdsCall) Space

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Space sets the optional parameter "space": The space in which the IDs can be used to create new files. Supported values are 'drive' and 'appDataFolder'.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type FilesGetCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type FilesGetCall struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*FilesGetCall) AcknowledgeAbuse

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (c *FilesGetCall) AcknowledgeAbuse(acknowledgeAbuse bool) *FilesGetCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                AcknowledgeAbuse sets the optional parameter "acknowledgeAbuse": Whether the user is acknowledging the risk of downloading known malware or other abusive files.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*FilesGetCall) Context

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (c *FilesGetCall) Context(ctx context.Context) *FilesGetCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Context sets the context to be used in this call's Do and Download methods. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*FilesGetCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (c *FilesGetCall) Do(opts ...googleapi.CallOption) (*File, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Do executes the "drive.files.get" call. Exactly one of *File or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *File.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*FilesGetCall) Download

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (c *FilesGetCall) Download(opts ...googleapi.CallOption) (*http.Response, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Download fetches the API endpoint's "media" value, instead of the normal API response value. If the returned error is nil, the Response is guaranteed to have a 2xx status code. Callers must close the Response.Body as usual.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*FilesGetCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (c *FilesGetCall) Fields(s ...googleapi.Field) *FilesGetCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*FilesGetCall) Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (c *FilesGetCall) Header() http.Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*FilesGetCall) IfNoneMatch

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (c *FilesGetCall) IfNoneMatch(entityTag string) *FilesGetCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*FilesGetCall) Projection

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (c *FilesGetCall) Projection(projection string) *FilesGetCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Projection sets the optional parameter "projection": This parameter is deprecated and has no function.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Possible values:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              "BASIC" - Deprecated
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              "FULL" - Deprecated
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*FilesGetCall) RevisionId

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (c *FilesGetCall) RevisionId(revisionId string) *FilesGetCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                RevisionId sets the optional parameter "revisionId": Specifies the Revision ID that should be downloaded. Ignored unless alt=media is specified.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*FilesGetCall) SupportsAllDrives

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (c *FilesGetCall) SupportsAllDrives(supportsAllDrives bool) *FilesGetCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  SupportsAllDrives sets the optional parameter "supportsAllDrives": Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*FilesGetCall) SupportsTeamDrives

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (c *FilesGetCall) SupportsTeamDrives(supportsTeamDrives bool) *FilesGetCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    SupportsTeamDrives sets the optional parameter "supportsTeamDrives": Deprecated use supportsAllDrives instead.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*FilesGetCall) UpdateViewedDate

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (c *FilesGetCall) UpdateViewedDate(updateViewedDate bool) *FilesGetCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      UpdateViewedDate sets the optional parameter "updateViewedDate": Deprecated: Use files.update with modifiedDateBehavior=noChange, updateViewedDate=true and an empty request body.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type FilesInsertCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type FilesInsertCall struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*FilesInsertCall) Context

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled. This context will supersede any context previously provided to the ResumableMedia method.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*FilesInsertCall) Convert

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (c *FilesInsertCall) Convert(convert bool) *FilesInsertCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Convert sets the optional parameter "convert": Whether to convert this file to the corresponding Google Docs format.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*FilesInsertCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (c *FilesInsertCall) Do(opts ...googleapi.CallOption) (*File, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Do executes the "drive.files.insert" call. Exactly one of *File or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *File.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*FilesInsertCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*FilesInsertCall) Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (c *FilesInsertCall) Header() http.Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*FilesInsertCall) Media

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (c *FilesInsertCall) Media(r io.Reader, options ...googleapi.MediaOption) *FilesInsertCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Media specifies the media to upload in one or more chunks. The chunk size may be controlled by supplying a MediaOption generated by googleapi.ChunkSize. The chunk size defaults to googleapi.DefaultUploadChunkSize.The Content-Type header used in the upload request will be determined by sniffing the contents of r, unless a MediaOption generated by googleapi.ContentType is supplied. At most one of Media and ResumableMedia may be set.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*FilesInsertCall) Ocr

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (c *FilesInsertCall) Ocr(ocr bool) *FilesInsertCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Ocr sets the optional parameter "ocr": Whether to attempt OCR on .jpg, .png, .gif, or .pdf uploads.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*FilesInsertCall) OcrLanguage

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (c *FilesInsertCall) OcrLanguage(ocrLanguage string) *FilesInsertCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      OcrLanguage sets the optional parameter "ocrLanguage": If ocr is true, hints at the language to use. Valid values are BCP 47 codes.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*FilesInsertCall) Pinned

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (c *FilesInsertCall) Pinned(pinned bool) *FilesInsertCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Pinned sets the optional parameter "pinned": Whether to pin the head revision of the uploaded file. A file can have a maximum of 200 pinned revisions.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*FilesInsertCall) ProgressUpdater

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (c *FilesInsertCall) ProgressUpdater(pu googleapi.ProgressUpdater) *FilesInsertCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ProgressUpdater provides a callback function that will be called after every chunk. It should be a low-latency function in order to not slow down the upload operation. This should only be called when using ResumableMedia (as opposed to Media).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*FilesInsertCall) ResumableMedia

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (c *FilesInsertCall) ResumableMedia(ctx context.Context, r io.ReaderAt, size int64, mediaType string) *FilesInsertCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ResumableMedia specifies the media to upload in chunks and can be canceled with ctx.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Deprecated: use Media instead.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            At most one of Media and ResumableMedia may be set. mediaType identifies the MIME media type of the upload, such as "image/png". If mediaType is "", it will be auto-detected. The provided ctx will supersede any context previously provided to the Context method.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*FilesInsertCall) SupportsAllDrives

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (c *FilesInsertCall) SupportsAllDrives(supportsAllDrives bool) *FilesInsertCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              SupportsAllDrives sets the optional parameter "supportsAllDrives": Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*FilesInsertCall) SupportsTeamDrives

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (c *FilesInsertCall) SupportsTeamDrives(supportsTeamDrives bool) *FilesInsertCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                SupportsTeamDrives sets the optional parameter "supportsTeamDrives": Deprecated use supportsAllDrives instead.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*FilesInsertCall) TimedTextLanguage

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (c *FilesInsertCall) TimedTextLanguage(timedTextLanguage string) *FilesInsertCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  TimedTextLanguage sets the optional parameter "timedTextLanguage": The language of the timed text.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*FilesInsertCall) TimedTextTrackName

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (c *FilesInsertCall) TimedTextTrackName(timedTextTrackName string) *FilesInsertCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    TimedTextTrackName sets the optional parameter "timedTextTrackName": The timed text track name.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*FilesInsertCall) UseContentAsIndexableText

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (c *FilesInsertCall) UseContentAsIndexableText(useContentAsIndexableText bool) *FilesInsertCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      UseContentAsIndexableText sets the optional parameter "useContentAsIndexableText": Whether to use the content as indexable text.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*FilesInsertCall) Visibility

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (c *FilesInsertCall) Visibility(visibility string) *FilesInsertCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Visibility sets the optional parameter "visibility": The visibility of the new file. This parameter is only relevant when convert=false.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Possible values:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        "DEFAULT" (default) - The visibility of the new file is determined
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        by the user's default visibility/sharing policies.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        "PRIVATE" - The new file will be visible to only the owner.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type FilesListCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type FilesListCall struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*FilesListCall) Context

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (c *FilesListCall) Context(ctx context.Context) *FilesListCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*FilesListCall) Corpora

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (c *FilesListCall) Corpora(corpora string) *FilesListCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Corpora sets the optional parameter "corpora": Bodies of items (files/documents) to which the query applies. Supported bodies are 'default', 'domain', 'drive' and 'allDrives'. Prefer 'default' or 'drive' to 'allDrives' for efficiency.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*FilesListCall) Corpus

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (c *FilesListCall) Corpus(corpus string) *FilesListCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Corpus sets the optional parameter "corpus": The body of items (files/documents) to which the query applies. Deprecated: use 'corpora' instead.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Possible values:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              "DEFAULT" - The items that the user has accessed.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              "DOMAIN" - Items shared to the user's domain.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*FilesListCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (c *FilesListCall) Do(opts ...googleapi.CallOption) (*FileList, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Do executes the "drive.files.list" call. Exactly one of *FileList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *FileList.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*FilesListCall) DriveId

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (c *FilesListCall) DriveId(driveId string) *FilesListCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  DriveId sets the optional parameter "driveId": ID of the shared drive to search.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*FilesListCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (c *FilesListCall) Fields(s ...googleapi.Field) *FilesListCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*FilesListCall) Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (c *FilesListCall) Header() http.Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*FilesListCall) IfNoneMatch

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (c *FilesListCall) IfNoneMatch(entityTag string) *FilesListCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*FilesListCall) IncludeItemsFromAllDrives

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (c *FilesListCall) IncludeItemsFromAllDrives(includeItemsFromAllDrives bool) *FilesListCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          IncludeItemsFromAllDrives sets the optional parameter "includeItemsFromAllDrives": Deprecated - Whether both My Drive and shared drive items should be included in results. This parameter will only be effective until June 1, 2020. Afterwards shared drive items will be included in the results.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*FilesListCall) IncludeTeamDriveItems

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (c *FilesListCall) IncludeTeamDriveItems(includeTeamDriveItems bool) *FilesListCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            IncludeTeamDriveItems sets the optional parameter "includeTeamDriveItems": Deprecated use includeItemsFromAllDrives instead.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*FilesListCall) MaxResults

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (c *FilesListCall) MaxResults(maxResults int64) *FilesListCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              MaxResults sets the optional parameter "maxResults": The maximum number of files to return per page. Partial or empty result pages are possible even before the end of the files list has been reached.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*FilesListCall) OrderBy

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (c *FilesListCall) OrderBy(orderBy string) *FilesListCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                OrderBy sets the optional parameter "orderBy": A comma-separated list of sort keys. Valid keys are 'createdDate', 'folder', 'lastViewedByMeDate', 'modifiedByMeDate', 'modifiedDate', 'quotaBytesUsed', 'recency', 'sharedWithMeDate', 'starred', 'title', and 'title_natural'. Each key sorts ascending by default, but may be reversed with the 'desc' modifier. Example usage: ?orderBy=folder,modifiedDate desc,title. Please note that there is a current limitation for users with approximately one million files in which the requested sort order is ignored.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*FilesListCall) PageToken

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (c *FilesListCall) PageToken(pageToken string) *FilesListCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  PageToken sets the optional parameter "pageToken": Page token for files.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*FilesListCall) Pages

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (c *FilesListCall) Pages(ctx context.Context, f func(*FileList) error) error

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*FilesListCall) Projection

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (c *FilesListCall) Projection(projection string) *FilesListCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Projection sets the optional parameter "projection": This parameter is deprecated and has no function.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Possible values:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      "BASIC" - Deprecated
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      "FULL" - Deprecated
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*FilesListCall) Q

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Q sets the optional parameter "q": Query string for searching files.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*FilesListCall) Spaces

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (c *FilesListCall) Spaces(spaces string) *FilesListCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Spaces sets the optional parameter "spaces": A comma-separated list of spaces to query. Supported values are 'drive', 'appDataFolder' and 'photos'.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*FilesListCall) SupportsAllDrives

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (c *FilesListCall) SupportsAllDrives(supportsAllDrives bool) *FilesListCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            SupportsAllDrives sets the optional parameter "supportsAllDrives": Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*FilesListCall) SupportsTeamDrives

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (c *FilesListCall) SupportsTeamDrives(supportsTeamDrives bool) *FilesListCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              SupportsTeamDrives sets the optional parameter "supportsTeamDrives": Deprecated use supportsAllDrives instead.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*FilesListCall) TeamDriveId

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (c *FilesListCall) TeamDriveId(teamDriveId string) *FilesListCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                TeamDriveId sets the optional parameter "teamDriveId": Deprecated use driveId instead.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type FilesPatchCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type FilesPatchCall struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*FilesPatchCall) AddParents

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (c *FilesPatchCall) AddParents(addParents string) *FilesPatchCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  AddParents sets the optional parameter "addParents": Comma-separated list of parent IDs to add.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*FilesPatchCall) Context

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (c *FilesPatchCall) Context(ctx context.Context) *FilesPatchCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*FilesPatchCall) Convert

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (c *FilesPatchCall) Convert(convert bool) *FilesPatchCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Convert sets the optional parameter "convert": This parameter is deprecated and has no function.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*FilesPatchCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (c *FilesPatchCall) Do(opts ...googleapi.CallOption) (*File, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Do executes the "drive.files.patch" call. Exactly one of *File or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *File.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*FilesPatchCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (c *FilesPatchCall) Fields(s ...googleapi.Field) *FilesPatchCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*FilesPatchCall) Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (c *FilesPatchCall) Header() http.Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*FilesPatchCall) ModifiedDateBehavior

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (c *FilesPatchCall) ModifiedDateBehavior(modifiedDateBehavior string) *FilesPatchCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ModifiedDateBehavior sets the optional parameter "modifiedDateBehavior": Determines the behavior in which modifiedDate is updated. This overrides setModifiedDate.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Possible values:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              "fromBody" - Set modifiedDate to the value provided in the body of
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              the request. No change if no value was provided.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              "fromBodyIfNeeded" - Set modifiedDate to the value provided in the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              body of the request depending on other contents of the update.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              "fromBodyOrNow" - Set modifiedDate to the value provided in the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              body of the request, or to the current time if no value was provided.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              "noChange" - Maintain the previous value of modifiedDate.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              "now" - Set modifiedDate to the current time.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              "nowIfNeeded" - Set modifiedDate to the current time depending on
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              contents of the update.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*FilesPatchCall) NewRevision

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (c *FilesPatchCall) NewRevision(newRevision bool) *FilesPatchCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                NewRevision sets the optional parameter "newRevision": Whether a blob upload should create a new revision. If false, the blob data in the current head revision is replaced. If true or not set, a new blob is created as head revision, and previous unpinned revisions are preserved for a short period of time. Pinned revisions are stored indefinitely, using additional storage quota, up to a maximum of 200 revisions. For details on how revisions are retained, see the Drive Help Center.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*FilesPatchCall) Ocr

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (c *FilesPatchCall) Ocr(ocr bool) *FilesPatchCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Ocr sets the optional parameter "ocr": Whether to attempt OCR on .jpg, .png, .gif, or .pdf uploads.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*FilesPatchCall) OcrLanguage

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (c *FilesPatchCall) OcrLanguage(ocrLanguage string) *FilesPatchCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    OcrLanguage sets the optional parameter "ocrLanguage": If ocr is true, hints at the language to use. Valid values are BCP 47 codes.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*FilesPatchCall) Pinned

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (c *FilesPatchCall) Pinned(pinned bool) *FilesPatchCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Pinned sets the optional parameter "pinned": Whether to pin the new revision. A file can have a maximum of 200 pinned revisions.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*FilesPatchCall) RemoveParents

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (c *FilesPatchCall) RemoveParents(removeParents string) *FilesPatchCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        RemoveParents sets the optional parameter "removeParents": Comma-separated list of parent IDs to remove.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*FilesPatchCall) SetModifiedDate

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (c *FilesPatchCall) SetModifiedDate(setModifiedDate bool) *FilesPatchCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          SetModifiedDate sets the optional parameter "setModifiedDate": Whether to set the modified date using the value supplied in the request body. Setting this field to true is equivalent to modifiedDateBehavior=fromBodyOrNow, and false is equivalent to modifiedDateBehavior=now. To prevent any changes to the modified date set modifiedDateBehavior=noChange.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*FilesPatchCall) SupportsAllDrives

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (c *FilesPatchCall) SupportsAllDrives(supportsAllDrives bool) *FilesPatchCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            SupportsAllDrives sets the optional parameter "supportsAllDrives": Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*FilesPatchCall) SupportsTeamDrives

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (c *FilesPatchCall) SupportsTeamDrives(supportsTeamDrives bool) *FilesPatchCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              SupportsTeamDrives sets the optional parameter "supportsTeamDrives": Deprecated use supportsAllDrives instead.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*FilesPatchCall) TimedTextLanguage

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (c *FilesPatchCall) TimedTextLanguage(timedTextLanguage string) *FilesPatchCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                TimedTextLanguage sets the optional parameter "timedTextLanguage": The language of the timed text.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*FilesPatchCall) TimedTextTrackName

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (c *FilesPatchCall) TimedTextTrackName(timedTextTrackName string) *FilesPatchCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  TimedTextTrackName sets the optional parameter "timedTextTrackName": The timed text track name.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*FilesPatchCall) UpdateViewedDate

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (c *FilesPatchCall) UpdateViewedDate(updateViewedDate bool) *FilesPatchCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    UpdateViewedDate sets the optional parameter "updateViewedDate": Whether to update the view date after successfully updating the file.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*FilesPatchCall) UseContentAsIndexableText

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (c *FilesPatchCall) UseContentAsIndexableText(useContentAsIndexableText bool) *FilesPatchCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      UseContentAsIndexableText sets the optional parameter "useContentAsIndexableText": Whether to use the content as indexable text.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type FilesService

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type FilesService struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func NewFilesService

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func NewFilesService(s *Service) *FilesService

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*FilesService) Copy

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (r *FilesService) Copy(fileId string, file *File) *FilesCopyCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Copy: Creates a copy of the specified file.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*FilesService) Delete

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (r *FilesService) Delete(fileId string) *FilesDeleteCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Delete: Permanently deletes a file by ID. Skips the trash. The currently authenticated user must own the file or be an organizer on the parent for shared drive files.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*FilesService) EmptyTrash

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (r *FilesService) EmptyTrash() *FilesEmptyTrashCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            EmptyTrash: Permanently deletes all of the user's trashed files.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*FilesService) Export

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (r *FilesService) Export(fileId string, mimeType string) *FilesExportCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Export: Exports a Google Doc to the requested MIME type and returns the exported content. Please note that the exported content is limited to 10MB.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*FilesService) GenerateIds

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (r *FilesService) GenerateIds() *FilesGenerateIdsCall

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*FilesService) Get

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (r *FilesService) Get(fileId string) *FilesGetCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Get: Gets a file's metadata by ID.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*FilesService) Insert

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (r *FilesService) Insert(file *File) *FilesInsertCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Insert: Insert a new file.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*FilesService) List

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (r *FilesService) List() *FilesListCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      List: Lists the user's files.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*FilesService) Patch

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (r *FilesService) Patch(fileId string, file *File) *FilesPatchCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Patch: Updates file metadata and/or content. This method supports patch semantics.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*FilesService) Touch

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (r *FilesService) Touch(fileId string) *FilesTouchCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Touch: Set the file's updated time to the current server time.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*FilesService) Trash

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (r *FilesService) Trash(fileId string) *FilesTrashCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Trash: Moves a file to the trash. The currently authenticated user must own the file or be at least a fileOrganizer on the parent for shared drive files.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*FilesService) Untrash

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (r *FilesService) Untrash(fileId string) *FilesUntrashCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Untrash: Restores a file from the trash.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*FilesService) Update

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (r *FilesService) Update(fileId string, file *File) *FilesUpdateCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Update: Updates file metadata and/or content.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*FilesService) Watch

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (r *FilesService) Watch(fileId string, channel *Channel) *FilesWatchCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Watch: Subscribe to changes on a file

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type FilesTouchCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type FilesTouchCall struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*FilesTouchCall) Context

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (c *FilesTouchCall) Context(ctx context.Context) *FilesTouchCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*FilesTouchCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (c *FilesTouchCall) Do(opts ...googleapi.CallOption) (*File, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Do executes the "drive.files.touch" call. Exactly one of *File or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *File.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*FilesTouchCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (c *FilesTouchCall) Fields(s ...googleapi.Field) *FilesTouchCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*FilesTouchCall) Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (c *FilesTouchCall) Header() http.Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*FilesTouchCall) SupportsAllDrives

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (c *FilesTouchCall) SupportsAllDrives(supportsAllDrives bool) *FilesTouchCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            SupportsAllDrives sets the optional parameter "supportsAllDrives": Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*FilesTouchCall) SupportsTeamDrives

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (c *FilesTouchCall) SupportsTeamDrives(supportsTeamDrives bool) *FilesTouchCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              SupportsTeamDrives sets the optional parameter "supportsTeamDrives": Deprecated use supportsAllDrives instead.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type FilesTrashCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type FilesTrashCall struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*FilesTrashCall) Context

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (c *FilesTrashCall) Context(ctx context.Context) *FilesTrashCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*FilesTrashCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (c *FilesTrashCall) Do(opts ...googleapi.CallOption) (*File, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Do executes the "drive.files.trash" call. Exactly one of *File or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *File.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*FilesTrashCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (c *FilesTrashCall) Fields(s ...googleapi.Field) *FilesTrashCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*FilesTrashCall) Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (c *FilesTrashCall) Header() http.Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*FilesTrashCall) SupportsAllDrives

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (c *FilesTra