Autogenerated update (2019-05-04)

Update:
- drive_v2
- drive_v3
This commit is contained in:
Google APIs 2019-05-04 00:37:29 +00:00
parent cd3877754f
commit f158ff767f
6 changed files with 153 additions and 87 deletions

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/drive/ # @see https://developers.google.com/drive/
module DriveV2 module DriveV2
VERSION = 'V2' VERSION = 'V2'
REVISION = '20190416' REVISION = '20190501'
# See, edit, create, and delete all of your Google Drive files # See, edit, create, and delete all of your Google Drive files
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive' AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'

View File

@ -425,17 +425,17 @@ module Google
class TeamDriveTheme class TeamDriveTheme
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# A link to this Team Drive theme's background image. # Deprecated - use driveThemes/backgroundImageLink instead.
# Corresponds to the JSON property `backgroundImageLink` # Corresponds to the JSON property `backgroundImageLink`
# @return [String] # @return [String]
attr_accessor :background_image_link attr_accessor :background_image_link
# The color of this Team Drive theme as an RGB hex string. # Deprecated - use driveThemes/colorRgb instead.
# Corresponds to the JSON property `colorRgb` # Corresponds to the JSON property `colorRgb`
# @return [String] # @return [String]
attr_accessor :color_rgb attr_accessor :color_rgb
# The ID of the theme. # Deprecated - use driveThemes/id instead.
# Corresponds to the JSON property `id` # Corresponds to the JSON property `id`
# @return [String] # @return [String]
attr_accessor :id attr_accessor :id
@ -761,7 +761,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :self_link attr_accessor :self_link
# Representation of a Team Drive. # Deprecated: use the drive collection instead.
# Corresponds to the JSON property `teamDrive` # Corresponds to the JSON property `teamDrive`
# @return [Google::Apis::DriveV2::TeamDrive] # @return [Google::Apis::DriveV2::TeamDrive]
attr_accessor :team_drive attr_accessor :team_drive
@ -3128,39 +3128,28 @@ module Google
class TeamDrivePermissionDetail class TeamDrivePermissionDetail
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Additional roles for this user. Only commenter is currently possible, though # Deprecated - use permissionDetails/additionalRoles instead.
# more may be supported in the future.
# Corresponds to the JSON property `additionalRoles` # Corresponds to the JSON property `additionalRoles`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :additional_roles attr_accessor :additional_roles
# Whether this permission is inherited. This field is always populated. This is # Deprecated - use permissionDetails/inherited instead.
# an output-only field.
# Corresponds to the JSON property `inherited` # Corresponds to the JSON property `inherited`
# @return [Boolean] # @return [Boolean]
attr_accessor :inherited attr_accessor :inherited
alias_method :inherited?, :inherited alias_method :inherited?, :inherited
# The ID of the item from which this permission is inherited. This is an output- # Deprecated - use permissionDetails/inheritedFrom instead.
# only field and is only populated for members of the Team Drive.
# Corresponds to the JSON property `inheritedFrom` # Corresponds to the JSON property `inheritedFrom`
# @return [String] # @return [String]
attr_accessor :inherited_from attr_accessor :inherited_from
# The primary role for this user. While new values may be added in the future, # Deprecated - use permissionDetails/role instead.
# the following are currently possible:
# - organizer
# - fileOrganizer
# - writer
# - reader
# Corresponds to the JSON property `role` # Corresponds to the JSON property `role`
# @return [String] # @return [String]
attr_accessor :role attr_accessor :role
# The Team Drive permission type for this user. While new values may be added in # Deprecated - use permissionDetails/permissionType instead.
# future, the following are currently possible:
# - file
# - member
# Corresponds to the JSON property `teamDrivePermissionType` # Corresponds to the JSON property `teamDrivePermissionType`
# @return [String] # @return [String]
attr_accessor :team_drive_permission_type attr_accessor :team_drive_permission_type
@ -3554,7 +3543,7 @@ module Google
end end
end end
# Representation of a Team Drive. # Deprecated: use the drive collection instead.
class TeamDrive class TeamDrive
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable

View File

@ -181,7 +181,9 @@ module Google
# @param [String] drive_id # @param [String] drive_id
# The shared drive from which the change will be returned. # The shared drive from which the change will be returned.
# @param [Boolean] supports_all_drives # @param [Boolean] supports_all_drives
# Whether the requesting application supports both My Drives and shared drives. # 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.
# @param [Boolean] supports_team_drives # @param [Boolean] supports_team_drives
# Deprecated use supportsAllDrives instead. # Deprecated use supportsAllDrives instead.
# @param [String] team_drive_id # @param [String] team_drive_id
@ -225,7 +227,9 @@ module Google
# The ID of the shared drive for which the starting pageToken for listing future # The ID of the shared drive for which the starting pageToken for listing future
# changes from that shared drive will be returned. # changes from that shared drive will be returned.
# @param [Boolean] supports_all_drives # @param [Boolean] supports_all_drives
# Whether the requesting application supports both My Drives and shared drives. # 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.
# @param [Boolean] supports_team_drives # @param [Boolean] supports_team_drives
# Deprecated use supportsAllDrives instead. # Deprecated use supportsAllDrives instead.
# @param [String] team_drive_id # @param [String] team_drive_id
@ -277,7 +281,9 @@ module Google
# Whether to include changes indicating that items have been removed from the # Whether to include changes indicating that items have been removed from the
# list of changes, for example by deletion or loss of access. # list of changes, for example by deletion or loss of access.
# @param [Boolean] include_items_from_all_drives # @param [Boolean] include_items_from_all_drives
# Whether both My Drive and shared drive items should be included in results. # 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.
# @param [Boolean] include_subscribed # @param [Boolean] include_subscribed
# Whether to include changes outside the My Drive hierarchy in the result. When # 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 # set to false, changes to files such as those in the Application Data folder or
@ -297,7 +303,9 @@ module Google
# @param [Fixnum] start_change_id # @param [Fixnum] start_change_id
# Deprecated - use pageToken instead. # Deprecated - use pageToken instead.
# @param [Boolean] supports_all_drives # @param [Boolean] supports_all_drives
# Whether the requesting application supports both My Drives and shared drives. # 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.
# @param [Boolean] supports_team_drives # @param [Boolean] supports_team_drives
# Deprecated use supportsAllDrives instead. # Deprecated use supportsAllDrives instead.
# @param [String] team_drive_id # @param [String] team_drive_id
@ -359,7 +367,9 @@ module Google
# Whether to include changes indicating that items have been removed from the # Whether to include changes indicating that items have been removed from the
# list of changes, for example by deletion or loss of access. # list of changes, for example by deletion or loss of access.
# @param [Boolean] include_items_from_all_drives # @param [Boolean] include_items_from_all_drives
# Whether both My Drive and shared drive items should be included in results. # 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.
# @param [Boolean] include_subscribed # @param [Boolean] include_subscribed
# Whether to include changes outside the My Drive hierarchy in the result. When # 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 # set to false, changes to files such as those in the Application Data folder or
@ -379,7 +389,9 @@ module Google
# @param [Fixnum] start_change_id # @param [Fixnum] start_change_id
# Deprecated - use pageToken instead. # Deprecated - use pageToken instead.
# @param [Boolean] supports_all_drives # @param [Boolean] supports_all_drives
# Whether the requesting application supports both My Drives and shared drives. # 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.
# @param [Boolean] supports_team_drives # @param [Boolean] supports_team_drives
# Deprecated use supportsAllDrives instead. # Deprecated use supportsAllDrives instead.
# @param [String] team_drive_id # @param [String] team_drive_id
@ -534,7 +546,9 @@ module Google
# The ID of the folder. # The ID of the folder.
# @param [Google::Apis::DriveV2::ChildReference] child_reference_object # @param [Google::Apis::DriveV2::ChildReference] child_reference_object
# @param [Boolean] supports_all_drives # @param [Boolean] supports_all_drives
# Whether the requesting application supports both My Drives and shared drives. # 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.
# @param [Boolean] supports_team_drives # @param [Boolean] supports_team_drives
# Deprecated use supportsAllDrives instead. # Deprecated use supportsAllDrives instead.
# @param [String] fields # @param [String] fields
@ -1133,7 +1147,9 @@ module Google
# Whether to pin the head revision of the new copy. A file can have a maximum of # Whether to pin the head revision of the new copy. A file can have a maximum of
# 200 pinned revisions. # 200 pinned revisions.
# @param [Boolean] supports_all_drives # @param [Boolean] supports_all_drives
# Whether the requesting application supports both My Drives and shared drives. # 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.
# @param [Boolean] supports_team_drives # @param [Boolean] supports_team_drives
# Deprecated use supportsAllDrives instead. # Deprecated use supportsAllDrives instead.
# @param [String] timed_text_language # @param [String] timed_text_language
@ -1189,7 +1205,9 @@ module Google
# @param [String] file_id # @param [String] file_id
# The ID of the file to delete. # The ID of the file to delete.
# @param [Boolean] supports_all_drives # @param [Boolean] supports_all_drives
# Whether the requesting application supports both My Drives and shared drives. # 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.
# @param [Boolean] supports_team_drives # @param [Boolean] supports_team_drives
# Deprecated use supportsAllDrives instead. # Deprecated use supportsAllDrives instead.
# @param [String] fields # @param [String] fields
@ -1341,7 +1359,9 @@ module Google
# Specifies the Revision ID that should be downloaded. Ignored unless alt=media # Specifies the Revision ID that should be downloaded. Ignored unless alt=media
# is specified. # is specified.
# @param [Boolean] supports_all_drives # @param [Boolean] supports_all_drives
# Whether the requesting application supports both My Drives and shared drives. # 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.
# @param [Boolean] supports_team_drives # @param [Boolean] supports_team_drives
# Deprecated use supportsAllDrives instead. # Deprecated use supportsAllDrives instead.
# @param [Boolean] update_viewed_date # @param [Boolean] update_viewed_date
@ -1402,7 +1422,9 @@ module Google
# Whether to pin the head revision of the uploaded file. A file can have a # Whether to pin the head revision of the uploaded file. A file can have a
# maximum of 200 pinned revisions. # maximum of 200 pinned revisions.
# @param [Boolean] supports_all_drives # @param [Boolean] supports_all_drives
# Whether the requesting application supports both My Drives and shared drives. # 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.
# @param [Boolean] supports_team_drives # @param [Boolean] supports_team_drives
# Deprecated use supportsAllDrives instead. # Deprecated use supportsAllDrives instead.
# @param [String] timed_text_language # @param [String] timed_text_language
@ -1476,7 +1498,9 @@ module Google
# @param [String] drive_id # @param [String] drive_id
# ID of the shared drive to search. # ID of the shared drive to search.
# @param [Boolean] include_items_from_all_drives # @param [Boolean] include_items_from_all_drives
# Whether both My Drive and shared drive items should be included in results. # 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.
# @param [Boolean] include_team_drive_items # @param [Boolean] include_team_drive_items
# Deprecated use includeItemsFromAllDrives instead. # Deprecated use includeItemsFromAllDrives instead.
# @param [Fixnum] max_results # @param [Fixnum] max_results
@ -1500,7 +1524,9 @@ module Google
# A comma-separated list of spaces to query. Supported values are 'drive', ' # A comma-separated list of spaces to query. Supported values are 'drive', '
# appDataFolder' and 'photos'. # appDataFolder' and 'photos'.
# @param [Boolean] supports_all_drives # @param [Boolean] supports_all_drives
# Whether the requesting application supports both My Drives and shared drives. # 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.
# @param [Boolean] supports_team_drives # @param [Boolean] supports_team_drives
# Deprecated use supportsAllDrives instead. # Deprecated use supportsAllDrives instead.
# @param [String] team_drive_id # @param [String] team_drive_id
@ -1581,7 +1607,9 @@ module Google
# and false is equivalent to modifiedDateBehavior=now. To prevent any changes # and false is equivalent to modifiedDateBehavior=now. To prevent any changes
# to the modified date set modifiedDateBehavior=noChange. # to the modified date set modifiedDateBehavior=noChange.
# @param [Boolean] supports_all_drives # @param [Boolean] supports_all_drives
# Whether the requesting application supports both My Drives and shared drives. # 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.
# @param [Boolean] supports_team_drives # @param [Boolean] supports_team_drives
# Deprecated use supportsAllDrives instead. # Deprecated use supportsAllDrives instead.
# @param [String] timed_text_language # @param [String] timed_text_language
@ -1643,7 +1671,9 @@ module Google
# @param [String] file_id # @param [String] file_id
# The ID of the file to update. # The ID of the file to update.
# @param [Boolean] supports_all_drives # @param [Boolean] supports_all_drives
# Whether the requesting application supports both My Drives and shared drives. # 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.
# @param [Boolean] supports_team_drives # @param [Boolean] supports_team_drives
# Deprecated use supportsAllDrives instead. # Deprecated use supportsAllDrives instead.
# @param [String] fields # @param [String] fields
@ -1683,7 +1713,9 @@ module Google
# @param [String] file_id # @param [String] file_id
# The ID of the file to trash. # The ID of the file to trash.
# @param [Boolean] supports_all_drives # @param [Boolean] supports_all_drives
# Whether the requesting application supports both My Drives and shared drives. # 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.
# @param [Boolean] supports_team_drives # @param [Boolean] supports_team_drives
# Deprecated use supportsAllDrives instead. # Deprecated use supportsAllDrives instead.
# @param [String] fields # @param [String] fields
@ -1722,7 +1754,9 @@ module Google
# @param [String] file_id # @param [String] file_id
# The ID of the file to untrash. # The ID of the file to untrash.
# @param [Boolean] supports_all_drives # @param [Boolean] supports_all_drives
# Whether the requesting application supports both My Drives and shared drives. # 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.
# @param [Boolean] supports_team_drives # @param [Boolean] supports_team_drives
# Deprecated use supportsAllDrives instead. # Deprecated use supportsAllDrives instead.
# @param [String] fields # @param [String] fields
@ -1790,7 +1824,9 @@ module Google
# and false is equivalent to modifiedDateBehavior=now. To prevent any changes # and false is equivalent to modifiedDateBehavior=now. To prevent any changes
# to the modified date set modifiedDateBehavior=noChange. # to the modified date set modifiedDateBehavior=noChange.
# @param [Boolean] supports_all_drives # @param [Boolean] supports_all_drives
# Whether the requesting application supports both My Drives and shared drives. # 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.
# @param [Boolean] supports_team_drives # @param [Boolean] supports_team_drives
# Deprecated use supportsAllDrives instead. # Deprecated use supportsAllDrives instead.
# @param [String] timed_text_language # @param [String] timed_text_language
@ -1871,7 +1907,9 @@ module Google
# Specifies the Revision ID that should be downloaded. Ignored unless alt=media # Specifies the Revision ID that should be downloaded. Ignored unless alt=media
# is specified. # is specified.
# @param [Boolean] supports_all_drives # @param [Boolean] supports_all_drives
# Whether the requesting application supports both My Drives and shared drives. # 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.
# @param [Boolean] supports_team_drives # @param [Boolean] supports_team_drives
# Deprecated use supportsAllDrives instead. # Deprecated use supportsAllDrives instead.
# @param [Boolean] update_viewed_date # @param [Boolean] update_viewed_date
@ -1997,7 +2035,9 @@ module Google
# The ID of the file. # The ID of the file.
# @param [Google::Apis::DriveV2::ParentReference] parent_reference_object # @param [Google::Apis::DriveV2::ParentReference] parent_reference_object
# @param [Boolean] supports_all_drives # @param [Boolean] supports_all_drives
# Whether the requesting application supports both My Drives and shared drives. # 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.
# @param [Boolean] supports_team_drives # @param [Boolean] supports_team_drives
# Deprecated use supportsAllDrives instead. # Deprecated use supportsAllDrives instead.
# @param [String] fields # @param [String] fields
@ -2073,7 +2113,9 @@ module Google
# @param [String] permission_id # @param [String] permission_id
# The ID for the permission. # The ID for the permission.
# @param [Boolean] supports_all_drives # @param [Boolean] supports_all_drives
# Whether the requesting application supports both My Drives and shared drives. # 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.
# @param [Boolean] supports_team_drives # @param [Boolean] supports_team_drives
# Deprecated use supportsAllDrives instead. # Deprecated use supportsAllDrives instead.
# @param [Boolean] use_domain_admin_access # @param [Boolean] use_domain_admin_access
@ -2119,7 +2161,9 @@ module Google
# @param [String] permission_id # @param [String] permission_id
# The ID for the permission. # The ID for the permission.
# @param [Boolean] supports_all_drives # @param [Boolean] supports_all_drives
# Whether the requesting application supports both My Drives and shared drives. # 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.
# @param [Boolean] supports_team_drives # @param [Boolean] supports_team_drives
# Deprecated use supportsAllDrives instead. # Deprecated use supportsAllDrives instead.
# @param [Boolean] use_domain_admin_access # @param [Boolean] use_domain_admin_access
@ -2204,7 +2248,9 @@ module Google
# Whether to send notification emails when sharing to users or groups. This # Whether to send notification emails when sharing to users or groups. This
# parameter is ignored and an email is sent if the role is owner. # parameter is ignored and an email is sent if the role is owner.
# @param [Boolean] supports_all_drives # @param [Boolean] supports_all_drives
# Whether the requesting application supports both My Drives and shared drives. # 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.
# @param [Boolean] supports_team_drives # @param [Boolean] supports_team_drives
# Deprecated use supportsAllDrives instead. # Deprecated use supportsAllDrives instead.
# @param [Boolean] use_domain_admin_access # @param [Boolean] use_domain_admin_access
@ -2260,7 +2306,9 @@ module Google
# The token for continuing a previous list request on the next page. This should # 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. # be set to the value of 'nextPageToken' from the previous response.
# @param [Boolean] supports_all_drives # @param [Boolean] supports_all_drives
# Whether the requesting application supports both My Drives and shared drives. # 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.
# @param [Boolean] supports_team_drives # @param [Boolean] supports_team_drives
# Deprecated use supportsAllDrives instead. # Deprecated use supportsAllDrives instead.
# @param [Boolean] use_domain_admin_access # @param [Boolean] use_domain_admin_access
@ -2312,7 +2360,9 @@ module Google
# @param [Boolean] remove_expiration # @param [Boolean] remove_expiration
# Whether to remove the expiration date. # Whether to remove the expiration date.
# @param [Boolean] supports_all_drives # @param [Boolean] supports_all_drives
# Whether the requesting application supports both My Drives and shared drives. # 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.
# @param [Boolean] supports_team_drives # @param [Boolean] supports_team_drives
# Deprecated use supportsAllDrives instead. # Deprecated use supportsAllDrives instead.
# @param [Boolean] transfer_ownership # @param [Boolean] transfer_ownership
@ -2370,7 +2420,9 @@ module Google
# @param [Boolean] remove_expiration # @param [Boolean] remove_expiration
# Whether to remove the expiration date. # Whether to remove the expiration date.
# @param [Boolean] supports_all_drives # @param [Boolean] supports_all_drives
# Whether the requesting application supports both My Drives and shared drives. # 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.
# @param [Boolean] supports_team_drives # @param [Boolean] supports_team_drives
# Deprecated use supportsAllDrives instead. # Deprecated use supportsAllDrives instead.
# @param [Boolean] transfer_ownership # @param [Boolean] transfer_ownership

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/drive/ # @see https://developers.google.com/drive/
module DriveV3 module DriveV3
VERSION = 'V3' VERSION = 'V3'
REVISION = '20190416' REVISION = '20190501'
# See, edit, create, and delete all of your Google Drive files # See, edit, create, and delete all of your Google Drive files
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive' AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'

View File

@ -189,17 +189,17 @@ module Google
class TeamDriveTheme class TeamDriveTheme
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# A link to this Team Drive theme's background image. # Deprecated - use driveThemes/backgroundImageLink instead.
# Corresponds to the JSON property `backgroundImageLink` # Corresponds to the JSON property `backgroundImageLink`
# @return [String] # @return [String]
attr_accessor :background_image_link attr_accessor :background_image_link
# The color of this Team Drive theme as an RGB hex string. # Deprecated - use driveThemes/colorRgb instead.
# Corresponds to the JSON property `colorRgb` # Corresponds to the JSON property `colorRgb`
# @return [String] # @return [String]
attr_accessor :color_rgb attr_accessor :color_rgb
# The ID of the theme. # Deprecated - use driveThemes/id instead.
# Corresponds to the JSON property `id` # Corresponds to the JSON property `id`
# @return [String] # @return [String]
attr_accessor :id attr_accessor :id
@ -259,7 +259,7 @@ module Google
attr_accessor :removed attr_accessor :removed
alias_method :removed?, :removed alias_method :removed?, :removed
# Representation of a Team Drive. # Deprecated: use the drive collection instead.
# Corresponds to the JSON property `teamDrive` # Corresponds to the JSON property `teamDrive`
# @return [Google::Apis::DriveV3::TeamDrive] # @return [Google::Apis::DriveV3::TeamDrive]
attr_accessor :team_drive attr_accessor :team_drive
@ -2099,34 +2099,23 @@ module Google
class TeamDrivePermissionDetail class TeamDrivePermissionDetail
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Whether this permission is inherited. This field is always populated. This is # Deprecated - use permissionDetails/inherited instead.
# an output-only field.
# Corresponds to the JSON property `inherited` # Corresponds to the JSON property `inherited`
# @return [Boolean] # @return [Boolean]
attr_accessor :inherited attr_accessor :inherited
alias_method :inherited?, :inherited alias_method :inherited?, :inherited
# The ID of the item from which this permission is inherited. This is an output- # Deprecated - use permissionDetails/inheritedFrom instead.
# only field and is only populated for members of the Team Drive.
# Corresponds to the JSON property `inheritedFrom` # Corresponds to the JSON property `inheritedFrom`
# @return [String] # @return [String]
attr_accessor :inherited_from attr_accessor :inherited_from
# The primary role for this user. While new values may be added in the future, # Deprecated - use permissionDetails/role instead.
# the following are currently possible:
# - organizer
# - fileOrganizer
# - writer
# - commenter
# - reader
# Corresponds to the JSON property `role` # Corresponds to the JSON property `role`
# @return [String] # @return [String]
attr_accessor :role attr_accessor :role
# The Team Drive permission type for this user. While new values may be added in # Deprecated - use permissionDetails/permissionType instead.
# future, the following are currently possible:
# - file
# - member
# Corresponds to the JSON property `teamDrivePermissionType` # Corresponds to the JSON property `teamDrivePermissionType`
# @return [String] # @return [String]
attr_accessor :team_drive_permission_type attr_accessor :team_drive_permission_type
@ -2457,7 +2446,7 @@ module Google
end end
end end
# Representation of a Team Drive. # Deprecated: use the drive collection instead.
class TeamDrive class TeamDrive
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable

View File

@ -87,7 +87,9 @@ module Google
# The ID of the shared drive for which the starting pageToken for listing future # The ID of the shared drive for which the starting pageToken for listing future
# changes from that shared drive will be returned. # changes from that shared drive will be returned.
# @param [Boolean] supports_all_drives # @param [Boolean] supports_all_drives
# Whether the requesting application supports both My Drives and shared drives. # 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.
# @param [Boolean] supports_team_drives # @param [Boolean] supports_team_drives
# Deprecated use supportsAllDrives instead. # Deprecated use supportsAllDrives instead.
# @param [String] team_drive_id # @param [String] team_drive_id
@ -140,7 +142,9 @@ module Google
# removed from the list of changes and there will be no further change entries # removed from the list of changes and there will be no further change entries
# for this file. # for this file.
# @param [Boolean] include_items_from_all_drives # @param [Boolean] include_items_from_all_drives
# Whether both My Drive and shared drive items should be included in results. # 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.
# @param [Boolean] include_removed # @param [Boolean] include_removed
# Whether to include changes indicating that items have been removed from the # Whether to include changes indicating that items have been removed from the
# list of changes, for example by deletion or loss of access. # list of changes, for example by deletion or loss of access.
@ -156,7 +160,9 @@ module Google
# A comma-separated list of spaces to query within the user corpus. Supported # A comma-separated list of spaces to query within the user corpus. Supported
# values are 'drive', 'appDataFolder' and 'photos'. # values are 'drive', 'appDataFolder' and 'photos'.
# @param [Boolean] supports_all_drives # @param [Boolean] supports_all_drives
# Whether the requesting application supports both My Drives and shared drives. # 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.
# @param [Boolean] supports_team_drives # @param [Boolean] supports_team_drives
# Deprecated use supportsAllDrives instead. # Deprecated use supportsAllDrives instead.
# @param [String] team_drive_id # @param [String] team_drive_id
@ -218,7 +224,9 @@ module Google
# removed from the list of changes and there will be no further change entries # removed from the list of changes and there will be no further change entries
# for this file. # for this file.
# @param [Boolean] include_items_from_all_drives # @param [Boolean] include_items_from_all_drives
# Whether both My Drive and shared drive items should be included in results. # 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.
# @param [Boolean] include_removed # @param [Boolean] include_removed
# Whether to include changes indicating that items have been removed from the # Whether to include changes indicating that items have been removed from the
# list of changes, for example by deletion or loss of access. # list of changes, for example by deletion or loss of access.
@ -234,7 +242,9 @@ module Google
# A comma-separated list of spaces to query within the user corpus. Supported # A comma-separated list of spaces to query within the user corpus. Supported
# values are 'drive', 'appDataFolder' and 'photos'. # values are 'drive', 'appDataFolder' and 'photos'.
# @param [Boolean] supports_all_drives # @param [Boolean] supports_all_drives
# Whether the requesting application supports both My Drives and shared drives. # 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.
# @param [Boolean] supports_team_drives # @param [Boolean] supports_team_drives
# Deprecated use supportsAllDrives instead. # Deprecated use supportsAllDrives instead.
# @param [String] team_drive_id # @param [String] team_drive_id
@ -786,7 +796,9 @@ module Google
# @param [String] ocr_language # @param [String] ocr_language
# A language hint for OCR processing during image import (ISO 639-1 code). # A language hint for OCR processing during image import (ISO 639-1 code).
# @param [Boolean] supports_all_drives # @param [Boolean] supports_all_drives
# Whether the requesting application supports both My Drives and shared drives. # 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.
# @param [Boolean] supports_team_drives # @param [Boolean] supports_team_drives
# Deprecated use supportsAllDrives instead. # Deprecated use supportsAllDrives instead.
# @param [String] fields # @param [String] fields
@ -839,7 +851,9 @@ module Google
# @param [String] ocr_language # @param [String] ocr_language
# A language hint for OCR processing during image import (ISO 639-1 code). # A language hint for OCR processing during image import (ISO 639-1 code).
# @param [Boolean] supports_all_drives # @param [Boolean] supports_all_drives
# Whether the requesting application supports both My Drives and shared drives. # 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.
# @param [Boolean] supports_team_drives # @param [Boolean] supports_team_drives
# Deprecated use supportsAllDrives instead. # Deprecated use supportsAllDrives instead.
# @param [Boolean] use_content_as_indexable_text # @param [Boolean] use_content_as_indexable_text
@ -898,7 +912,9 @@ module Google
# @param [String] file_id # @param [String] file_id
# The ID of the file. # The ID of the file.
# @param [Boolean] supports_all_drives # @param [Boolean] supports_all_drives
# Whether the requesting application supports both My Drives and shared drives. # 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.
# @param [Boolean] supports_team_drives # @param [Boolean] supports_team_drives
# Deprecated use supportsAllDrives instead. # Deprecated use supportsAllDrives instead.
# @param [String] fields # @param [String] fields
@ -1045,7 +1061,9 @@ module Google
# Whether the user is acknowledging the risk of downloading known malware or # Whether the user is acknowledging the risk of downloading known malware or
# other abusive files. This is only applicable when alt=media. # other abusive files. This is only applicable when alt=media.
# @param [Boolean] supports_all_drives # @param [Boolean] supports_all_drives
# Whether the requesting application supports both My Drives and shared drives. # 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.
# @param [Boolean] supports_team_drives # @param [Boolean] supports_team_drives
# Deprecated use supportsAllDrives instead. # Deprecated use supportsAllDrives instead.
# @param [String] fields # @param [String] fields
@ -1098,7 +1116,9 @@ module Google
# @param [String] drive_id # @param [String] drive_id
# ID of the shared drive to search. # ID of the shared drive to search.
# @param [Boolean] include_items_from_all_drives # @param [Boolean] include_items_from_all_drives
# Whether both My Drive and shared drive items should be included in results. # 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.
# @param [Boolean] include_team_drive_items # @param [Boolean] include_team_drive_items
# Deprecated use includeItemsFromAllDrives instead. # Deprecated use includeItemsFromAllDrives instead.
# @param [String] order_by # @param [String] order_by
@ -1122,7 +1142,9 @@ module Google
# A comma-separated list of spaces to query within the corpus. Supported values # A comma-separated list of spaces to query within the corpus. Supported values
# are 'drive', 'appDataFolder' and 'photos'. # are 'drive', 'appDataFolder' and 'photos'.
# @param [Boolean] supports_all_drives # @param [Boolean] supports_all_drives
# Whether the requesting application supports both My Drives and shared drives. # 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.
# @param [Boolean] supports_team_drives # @param [Boolean] supports_team_drives
# Deprecated use supportsAllDrives instead. # Deprecated use supportsAllDrives instead.
# @param [String] team_drive_id # @param [String] team_drive_id
@ -1183,7 +1205,9 @@ module Google
# @param [String] remove_parents # @param [String] remove_parents
# A comma-separated list of parent IDs to remove. # A comma-separated list of parent IDs to remove.
# @param [Boolean] supports_all_drives # @param [Boolean] supports_all_drives
# Whether the requesting application supports both My Drives and shared drives. # 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.
# @param [Boolean] supports_team_drives # @param [Boolean] supports_team_drives
# Deprecated use supportsAllDrives instead. # Deprecated use supportsAllDrives instead.
# @param [Boolean] use_content_as_indexable_text # @param [Boolean] use_content_as_indexable_text
@ -1245,7 +1269,9 @@ module Google
# Whether the user is acknowledging the risk of downloading known malware or # Whether the user is acknowledging the risk of downloading known malware or
# other abusive files. This is only applicable when alt=media. # other abusive files. This is only applicable when alt=media.
# @param [Boolean] supports_all_drives # @param [Boolean] supports_all_drives
# Whether the requesting application supports both My Drives and shared drives. # 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.
# @param [Boolean] supports_team_drives # @param [Boolean] supports_team_drives
# Deprecated use supportsAllDrives instead. # Deprecated use supportsAllDrives instead.
# @param [String] fields # @param [String] fields
@ -1301,7 +1327,9 @@ module Google
# defaults to true for users and groups, and is not allowed for other requests. # defaults to true for users and groups, and is not allowed for other requests.
# It must not be disabled for ownership transfers. # It must not be disabled for ownership transfers.
# @param [Boolean] supports_all_drives # @param [Boolean] supports_all_drives
# Whether the requesting application supports both My Drives and shared drives. # 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.
# @param [Boolean] supports_team_drives # @param [Boolean] supports_team_drives
# Deprecated use supportsAllDrives instead. # Deprecated use supportsAllDrives instead.
# @param [Boolean] transfer_ownership # @param [Boolean] transfer_ownership
@ -1357,7 +1385,9 @@ module Google
# @param [String] permission_id # @param [String] permission_id
# The ID of the permission. # The ID of the permission.
# @param [Boolean] supports_all_drives # @param [Boolean] supports_all_drives
# Whether the requesting application supports both My Drives and shared drives. # 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.
# @param [Boolean] supports_team_drives # @param [Boolean] supports_team_drives
# Deprecated use supportsAllDrives instead. # Deprecated use supportsAllDrives instead.
# @param [Boolean] use_domain_admin_access # @param [Boolean] use_domain_admin_access
@ -1403,7 +1433,9 @@ module Google
# @param [String] permission_id # @param [String] permission_id
# The ID of the permission. # The ID of the permission.
# @param [Boolean] supports_all_drives # @param [Boolean] supports_all_drives
# Whether the requesting application supports both My Drives and shared drives. # 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.
# @param [Boolean] supports_team_drives # @param [Boolean] supports_team_drives
# Deprecated use supportsAllDrives instead. # Deprecated use supportsAllDrives instead.
# @param [Boolean] use_domain_admin_access # @param [Boolean] use_domain_admin_access
@ -1456,7 +1488,9 @@ module Google
# The token for continuing a previous list request on the next page. This should # 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. # be set to the value of 'nextPageToken' from the previous response.
# @param [Boolean] supports_all_drives # @param [Boolean] supports_all_drives
# Whether the requesting application supports both My Drives and shared drives. # 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.
# @param [Boolean] supports_team_drives # @param [Boolean] supports_team_drives
# Deprecated use supportsAllDrives instead. # Deprecated use supportsAllDrives instead.
# @param [Boolean] use_domain_admin_access # @param [Boolean] use_domain_admin_access
@ -1508,7 +1542,9 @@ module Google
# @param [Boolean] remove_expiration # @param [Boolean] remove_expiration
# Whether to remove the expiration date. # Whether to remove the expiration date.
# @param [Boolean] supports_all_drives # @param [Boolean] supports_all_drives
# Whether the requesting application supports both My Drives and shared drives. # 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.
# @param [Boolean] supports_team_drives # @param [Boolean] supports_team_drives
# Deprecated use supportsAllDrives instead. # Deprecated use supportsAllDrives instead.
# @param [Boolean] transfer_ownership # @param [Boolean] transfer_ownership