
target.apidocs.com.google.api.services.cloudresourcemanager.model.FolderOperation.html Maven / Gradle / Ivy
FolderOperation (Cloud Resource Manager API v2-rev20190927-1.30.3)
com.google.api.services.cloudresourcemanager.model
Class FolderOperation
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.cloudresourcemanager.model.FolderOperation
-
public final class FolderOperation
extends GenericJson
Metadata describing a long running folder operation
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 Cloud Resource Manager 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
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
FolderOperation()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
FolderOperation
clone()
String
getDestinationParent()
The resource name of the folder or organization we are either creating the folder under or
moving the folder to.
String
getDisplayName()
The display name of the folder.
String
getOperationType()
The type of this operation.
String
getSourceParent()
The resource name of the folder's parent.
FolderOperation
set(String fieldName,
Object value)
FolderOperation
setDestinationParent(String destinationParent)
The resource name of the folder or organization we are either creating the folder under or
moving the folder to.
FolderOperation
setDisplayName(String displayName)
The display name of the folder.
FolderOperation
setOperationType(String operationType)
The type of this operation.
FolderOperation
setSourceParent(String sourceParent)
The resource name of the folder's parent.
-
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
-
getDestinationParent
public String getDestinationParent()
The resource name of the folder or organization we are either creating the folder under or
moving the folder to.
- Returns:
- value or
null
for none
-
setDestinationParent
public FolderOperation setDestinationParent(String destinationParent)
The resource name of the folder or organization we are either creating the folder under or
moving the folder to.
- Parameters:
destinationParent
- destinationParent or null
for none
-
getDisplayName
public String getDisplayName()
The display name of the folder.
- Returns:
- value or
null
for none
-
setDisplayName
public FolderOperation setDisplayName(String displayName)
The display name of the folder.
- Parameters:
displayName
- displayName or null
for none
-
getOperationType
public String getOperationType()
The type of this operation.
- Returns:
- value or
null
for none
-
setOperationType
public FolderOperation setOperationType(String operationType)
The type of this operation.
- Parameters:
operationType
- operationType or null
for none
-
getSourceParent
public String getSourceParent()
The resource name of the folder's parent. Only applicable when the operation_type is MOVE.
- Returns:
- value or
null
for none
-
setSourceParent
public FolderOperation setSourceParent(String sourceParent)
The resource name of the folder's parent. Only applicable when the operation_type is MOVE.
- Parameters:
sourceParent
- sourceParent or null
for none
-
set
public FolderOperation set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public FolderOperation clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2019 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy