target.apidocs.com.google.api.services.compute.model.RegionInstanceGroupManagersApplyUpdatesRequest.html Maven / Gradle / Ivy
RegionInstanceGroupManagersApplyUpdatesRequest (Compute Engine API beta-rev20220312-1.32.1)
com.google.api.services.compute.model
Class RegionInstanceGroupManagersApplyUpdatesRequest
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.compute.model.RegionInstanceGroupManagersApplyUpdatesRequest
-
public final class RegionInstanceGroupManagersApplyUpdatesRequest
extends GenericJson
RegionInstanceGroupManagers.applyUpdatesToInstances
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 Compute Engine 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
RegionInstanceGroupManagersApplyUpdatesRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
RegionInstanceGroupManagersApplyUpdatesRequest
clone()
Boolean
getAllInstances()
Flag to update all instances instead of specified list of “instances”.
List<String>
getInstances()
The list of URLs of one or more instances for which you want to apply updates.
String
getMinimalAction()
The minimal action that you want to perform on each instance during the update: - REPLACE: At
minimum, delete the instance and create it again.
String
getMostDisruptiveAllowedAction()
The most disruptive action that you want to perform on each instance during the update: -
REPLACE: Delete the instance and create it again.
RegionInstanceGroupManagersApplyUpdatesRequest
set(String fieldName,
Object value)
RegionInstanceGroupManagersApplyUpdatesRequest
setAllInstances(Boolean allInstances)
Flag to update all instances instead of specified list of “instances”.
RegionInstanceGroupManagersApplyUpdatesRequest
setInstances(List<String> instances)
The list of URLs of one or more instances for which you want to apply updates.
RegionInstanceGroupManagersApplyUpdatesRequest
setMinimalAction(String minimalAction)
The minimal action that you want to perform on each instance during the update: - REPLACE: At
minimum, delete the instance and create it again.
RegionInstanceGroupManagersApplyUpdatesRequest
setMostDisruptiveAllowedAction(String mostDisruptiveAllowedAction)
The most disruptive action that you want to perform on each instance during the update: -
REPLACE: Delete the instance and create it again.
-
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
-
-
Constructor Detail
-
RegionInstanceGroupManagersApplyUpdatesRequest
public RegionInstanceGroupManagersApplyUpdatesRequest()
-
Method Detail
-
getAllInstances
public Boolean getAllInstances()
Flag to update all instances instead of specified list of “instances”. If the flag is set to
true then the instances may not be specified in the request.
- Returns:
- value or
null
for none
-
setAllInstances
public RegionInstanceGroupManagersApplyUpdatesRequest setAllInstances(Boolean allInstances)
Flag to update all instances instead of specified list of “instances”. If the flag is set to
true then the instances may not be specified in the request.
- Parameters:
allInstances
- allInstances or null
for none
-
getInstances
public List<String> getInstances()
The list of URLs of one or more instances for which you want to apply updates. Each URL can be
a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].
- Returns:
- value or
null
for none
-
setInstances
public RegionInstanceGroupManagersApplyUpdatesRequest setInstances(List<String> instances)
The list of URLs of one or more instances for which you want to apply updates. Each URL can be
a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].
- Parameters:
instances
- instances or null
for none
-
getMinimalAction
public String getMinimalAction()
The minimal action that you want to perform on each instance during the update: - REPLACE: At
minimum, delete the instance and create it again. - RESTART: Stop the instance and start it
again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By
default, the minimum action is NONE. If your update requires a more disruptive action than you
set with this flag, the necessary action is performed to execute the update.
- Returns:
- value or
null
for none
-
setMinimalAction
public RegionInstanceGroupManagersApplyUpdatesRequest setMinimalAction(String minimalAction)
The minimal action that you want to perform on each instance during the update: - REPLACE: At
minimum, delete the instance and create it again. - RESTART: Stop the instance and start it
again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By
default, the minimum action is NONE. If your update requires a more disruptive action than you
set with this flag, the necessary action is performed to execute the update.
- Parameters:
minimalAction
- minimalAction or null
for none
-
getMostDisruptiveAllowedAction
public String getMostDisruptiveAllowedAction()
The most disruptive action that you want to perform on each instance during the update: -
REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it
again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By
default, the most disruptive allowed action is REPLACE. If your update requires a more
disruptive action than you set with this flag, the update request will fail.
- Returns:
- value or
null
for none
-
setMostDisruptiveAllowedAction
public RegionInstanceGroupManagersApplyUpdatesRequest setMostDisruptiveAllowedAction(String mostDisruptiveAllowedAction)
The most disruptive action that you want to perform on each instance during the update: -
REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it
again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By
default, the most disruptive allowed action is REPLACE. If your update requires a more
disruptive action than you set with this flag, the update request will fail.
- Parameters:
mostDisruptiveAllowedAction
- mostDisruptiveAllowedAction or null
for none
-
set
public RegionInstanceGroupManagersApplyUpdatesRequest set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public RegionInstanceGroupManagersApplyUpdatesRequest clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy