target.apidocs.com.google.api.services.sheets.v4.model.EmbeddedObjectPosition.html Maven / Gradle / Ivy
EmbeddedObjectPosition (Google Sheets API v4-rev20240312-2.0.0)
com.google.api.services.sheets.v4.model
Class EmbeddedObjectPosition
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.sheets.v4.model.EmbeddedObjectPosition
-
public final class EmbeddedObjectPosition
extends com.google.api.client.json.GenericJson
The position of an embedded object such as a chart.
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 Sheets API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
EmbeddedObjectPosition()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
EmbeddedObjectPosition
clone()
Boolean
getNewSheet()
If true, the embedded object is put on a new sheet whose ID is chosen for you.
OverlayPosition
getOverlayPosition()
The position at which the object is overlaid on top of a grid.
Integer
getSheetId()
The sheet this is on.
EmbeddedObjectPosition
set(String fieldName,
Object value)
EmbeddedObjectPosition
setNewSheet(Boolean newSheet)
If true, the embedded object is put on a new sheet whose ID is chosen for you.
EmbeddedObjectPosition
setOverlayPosition(OverlayPosition overlayPosition)
The position at which the object is overlaid on top of a grid.
EmbeddedObjectPosition
setSheetId(Integer sheetId)
The sheet this is on.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getNewSheet
public Boolean getNewSheet()
If true, the embedded object is put on a new sheet whose ID is chosen for you. Used only when
writing.
- Returns:
- value or
null
for none
-
setNewSheet
public EmbeddedObjectPosition setNewSheet(Boolean newSheet)
If true, the embedded object is put on a new sheet whose ID is chosen for you. Used only when
writing.
- Parameters:
newSheet
- newSheet or null
for none
-
getOverlayPosition
public OverlayPosition getOverlayPosition()
The position at which the object is overlaid on top of a grid.
- Returns:
- value or
null
for none
-
setOverlayPosition
public EmbeddedObjectPosition setOverlayPosition(OverlayPosition overlayPosition)
The position at which the object is overlaid on top of a grid.
- Parameters:
overlayPosition
- overlayPosition or null
for none
-
getSheetId
public Integer getSheetId()
The sheet this is on. Set only if the embedded object is on its own sheet. Must be non-
negative.
- Returns:
- value or
null
for none
-
setSheetId
public EmbeddedObjectPosition setSheetId(Integer sheetId)
The sheet this is on. Set only if the embedded object is on its own sheet. Must be non-
negative.
- Parameters:
sheetId
- sheetId or null
for none
-
set
public EmbeddedObjectPosition set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public EmbeddedObjectPosition clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.