generated/google/apis/drive_v3/classes.rb in google-api-client-0.10.3 vs generated/google/apis/drive_v3/classes.rb in google-api-client-0.11.0
- old
+ new
@@ -53,16 +53,16 @@
# @return [String]
attr_accessor :kind
# A map of maximum import sizes by MIME type, in bytes.
# Corresponds to the JSON property `maxImportSizes`
- # @return [Hash<String,String>]
+ # @return [Hash<String,Fixnum>]
attr_accessor :max_import_sizes
# The maximum upload size in bytes.
# Corresponds to the JSON property `maxUploadSize`
- # @return [String]
+ # @return [Fixnum]
attr_accessor :max_upload_size
# The user's storage quota limits and usage. All fields are measured in bytes.
# Corresponds to the JSON property `storageQuota`
# @return [Google::Apis::DriveV3::About::StorageQuota]
@@ -101,26 +101,26 @@
include Google::Apis::Core::Hashable
# The usage limit, if applicable. This will not be present if the user has
# unlimited storage.
# Corresponds to the JSON property `limit`
- # @return [String]
+ # @return [Fixnum]
attr_accessor :limit
# The total usage across all services.
# Corresponds to the JSON property `usage`
- # @return [String]
+ # @return [Fixnum]
attr_accessor :usage
# The usage by all files in Google Drive.
# Corresponds to the JSON property `usageInDrive`
- # @return [String]
+ # @return [Fixnum]
attr_accessor :usage_in_drive
# The usage by trashed files in Google Drive.
# Corresponds to the JSON property `usageInDriveTrash`
- # @return [String]
+ # @return [Fixnum]
attr_accessor :usage_in_drive_trash
def initialize(**args)
update!(**args)
end
@@ -283,11 +283,11 @@
attr_accessor :address
# Date and time of notification channel expiration, expressed as a Unix
# timestamp, in milliseconds. Optional.
# Corresponds to the JSON property `expiration`
- # @return [String]
+ # @return [Fixnum]
attr_accessor :expiration
# A UUID or similar unique string that identifies this channel.
# Corresponds to the JSON property `id`
# @return [String]
@@ -702,11 +702,11 @@
attr_accessor :properties
# The number of storage quota bytes used by the file. This includes the head
# revision as well as previous revisions with keepForever enabled.
# Corresponds to the JSON property `quotaBytesUsed`
- # @return [String]
+ # @return [Fixnum]
attr_accessor :quota_bytes_used
# Whether the file has been shared. Not populated for Team Drive files.
# Corresponds to the JSON property `shared`
# @return [Boolean]
@@ -725,11 +725,11 @@
attr_accessor :sharing_user
# The size of the file's content in bytes. This is only applicable to files with
# binary content in Drive.
# Corresponds to the JSON property `size`
- # @return [String]
+ # @return [Fixnum]
attr_accessor :size
# The list of spaces which contain the file. The currently supported values are '
# drive', 'appDataFolder' and 'photos'.
# Corresponds to the JSON property `spaces`
@@ -754,11 +754,11 @@
# @return [String]
attr_accessor :thumbnail_link
# The thumbnail version for use in thumbnail cache invalidation.
# Corresponds to the JSON property `thumbnailVersion`
- # @return [String]
+ # @return [Fixnum]
attr_accessor :thumbnail_version
# Whether the file has been trashed, either explicitly or from a trashed parent
# folder. Only the owner may trash a file, and other users cannot see files in
# the owner's trash.
@@ -779,11 +779,11 @@
attr_accessor :trashing_user
# 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 user.
# Corresponds to the JSON property `version`
- # @return [String]
+ # @return [Fixnum]
attr_accessor :version
# Additional metadata about video media. This may not be available immediately
# upon upload.
# Corresponds to the JSON property `videoMediaMetadata`
@@ -1255,11 +1255,11 @@
class VideoMediaMetadata
include Google::Apis::Core::Hashable
# The duration of the video in milliseconds.
# Corresponds to the JSON property `durationMillis`
- # @return [String]
+ # @return [Fixnum]
attr_accessor :duration_millis
# The height of the video in pixels.
# Corresponds to the JSON property `height`
# @return [Fixnum]
@@ -1730,10 +1730,10 @@
alias_method :published_outside_domain?, :published_outside_domain
# The size of the revision's content in bytes. This is only applicable to files
# with binary content in Drive.
# Corresponds to the JSON property `size`
- # @return [String]
+ # @return [Fixnum]
attr_accessor :size
def initialize(**args)
update!(**args)
end