generated/google/apis/drive_v3/classes.rb in google-api-client-0.41.1 vs generated/google/apis/drive_v3/classes.rb in google-api-client-0.41.2

- old
+ new

@@ -1373,10 +1373,18 @@ # Corresponds to the JSON property `canAddChildren` # @return [Boolean] attr_accessor :can_add_children alias_method :can_add_children?, :can_add_children + # Whether the current user can add a folder from another drive (different shared + # drive or My Drive) to this folder. This is false when the item is not a folder. + # Only populated for items in shared drives. + # Corresponds to the JSON property `canAddFolderFromAnotherDrive` + # @return [Boolean] + attr_accessor :can_add_folder_from_another_drive + alias_method :can_add_folder_from_another_drive?, :can_add_folder_from_another_drive + # Whether the current user can add a parent for the item without removing an # existing parent in the same request. Not populated for shared drive files. # Corresponds to the JSON property `canAddMyDriveParent` # @return [Boolean] attr_accessor :can_add_my_drive_parent @@ -1589,9 +1597,10 @@ end # Update properties of this object def update!(**args) @can_add_children = args[:can_add_children] if args.key?(:can_add_children) + @can_add_folder_from_another_drive = args[:can_add_folder_from_another_drive] if args.key?(:can_add_folder_from_another_drive) @can_add_my_drive_parent = args[:can_add_my_drive_parent] if args.key?(:can_add_my_drive_parent) @can_change_copy_requires_writer_permission = args[:can_change_copy_requires_writer_permission] if args.key?(:can_change_copy_requires_writer_permission) @can_change_viewers_can_copy_content = args[:can_change_viewers_can_copy_content] if args.key?(:can_change_viewers_can_copy_content) @can_comment = args[:can_comment] if args.key?(:can_comment) @can_copy = args[:can_copy] if args.key?(:can_copy)