public static final class Drive.BackgroundImageFile
extends com.google.api.client.json.GenericJson
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
BackgroundImageFile() |
Modifier and Type | Method and Description |
---|---|
Drive.BackgroundImageFile |
clone() |
String |
getId()
The ID of an image file in Google Drive to use for the background image.
|
Float |
getWidth()
The width of the cropped image in the closed range of 0 to 1.
|
Float |
getXCoordinate()
The X coordinate of the upper left corner of the cropping area in the background image.
|
Float |
getYCoordinate()
The Y coordinate of the upper left corner of the cropping area in the background image.
|
Drive.BackgroundImageFile |
set(String fieldName,
Object value) |
Drive.BackgroundImageFile |
setId(String id)
The ID of an image file in Google Drive to use for the background image.
|
Drive.BackgroundImageFile |
setWidth(Float width)
The width of the cropped image in the closed range of 0 to 1.
|
Drive.BackgroundImageFile |
setXCoordinate(Float xCoordinate)
The X coordinate of the upper left corner of the cropping area in the background image.
|
Drive.BackgroundImageFile |
setYCoordinate(Float yCoordinate)
The Y coordinate of the upper left corner of the cropping area in the background image.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getId()
null
for nonepublic Drive.BackgroundImageFile setId(String id)
id
- id or null
for nonepublic Float getWidth()
null
for nonepublic Drive.BackgroundImageFile setWidth(Float width)
width
- width or null
for nonepublic Float getXCoordinate()
null
for nonepublic Drive.BackgroundImageFile setXCoordinate(Float xCoordinate)
xCoordinate
- xCoordinate or null
for nonepublic Float getYCoordinate()
null
for nonepublic Drive.BackgroundImageFile setYCoordinate(Float yCoordinate)
yCoordinate
- yCoordinate or null
for nonepublic Drive.BackgroundImageFile set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public Drive.BackgroundImageFile clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.