GoogleDrive::Revision
Inherits OpenApi::Json / OpenApi::Validatable / JSON::Serializable::Unmapped / JSON::Serializable / Reference / Object
The metadata for a revision to a file.
Constructors
Initializes the object @param [Hash] attributes Model attributes in the form of hash
Instance methods
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code
Custom attribute writer method checking allowed values (enum). @param [Object] export_links Object to be assigned
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code
Custom attribute writer method checking allowed values (enum). @param [Object] id Object to be assigned
Whether to keep this revision forever, even if it is no longer the head revision. If not set, the revision will be automatically purged 30 days after newer content is uploaded. This can be set on a maximum of 200 revisions for a file. This field is only applicable to files with binary content in Drive.
Custom attribute writer method checking allowed values (enum). @param [Object] keep_forever Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] kind Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] last_modifying_user Object to be assigned
Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons
The MD5 checksum of the revision's content. This is only applicable to files with binary content in Drive.
Custom attribute writer method checking allowed values (enum). @param [Object] md5_checksum Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] mime_type Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] modified_time Object to be assigned
The original filename used to create this revision. This is only applicable to files with binary content in Drive.
Custom attribute writer method checking allowed values (enum). @param [Object] original_filename Object to be assigned
Whether subsequent revisions will be automatically republished. This is only applicable to Docs Editors files.
Custom attribute writer method checking allowed values (enum). @param [Object] publish_auto Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] published Object to be assigned
A link to the published revision. This is only populated for Google Sites files.
Custom attribute writer method checking allowed values (enum). @param [Object] published_link Object to be assigned
Whether this revision is published outside the domain. This is only applicable to Docs Editors files.
Custom attribute writer method checking allowed values (enum). @param [Object] published_outside_domain Object to be assigned
The size of the revision's content in bytes. This is only applicable to files with binary content in Drive.
Custom attribute writer method checking allowed values (enum). @param [Object] size Object to be assigned
Check to see if the all the properties in the model are valid @return true if the model is valid