public final class FileUploadQuestion
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Forms API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
FileUploadQuestion() |
| Modifier and Type | Method and Description |
|---|---|
FileUploadQuestion |
clone() |
String |
getFolderId()
Required.
|
Integer |
getMaxFiles()
Maximum number of files that can be uploaded for this question in a single response.
|
Long |
getMaxFileSize()
Maximum number of bytes allowed for any single file uploaded to this question.
|
List<String> |
getTypes()
File types accepted by this question.
|
FileUploadQuestion |
set(String fieldName,
Object value) |
FileUploadQuestion |
setFolderId(String folderId)
Required.
|
FileUploadQuestion |
setMaxFiles(Integer maxFiles)
Maximum number of files that can be uploaded for this question in a single response.
|
FileUploadQuestion |
setMaxFileSize(Long maxFileSize)
Maximum number of bytes allowed for any single file uploaded to this question.
|
FileUploadQuestion |
setTypes(List<String> types)
File types accepted by this question.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getFolderId()
null for nonepublic FileUploadQuestion setFolderId(String folderId)
folderId - folderId or null for nonepublic Long getMaxFileSize()
null for nonepublic FileUploadQuestion setMaxFileSize(Long maxFileSize)
maxFileSize - maxFileSize or null for nonepublic Integer getMaxFiles()
null for nonepublic FileUploadQuestion setMaxFiles(Integer maxFiles)
maxFiles - maxFiles or null for nonepublic List<String> getTypes()
null for nonepublic FileUploadQuestion setTypes(List<String> types)
types - types or null for nonepublic FileUploadQuestion set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic FileUploadQuestion clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.