target.apidocs.com.google.api.services.servicemanagement.model.Rollout.html Maven / Gradle / Ivy
Rollout (Service Management API v1-rev20240823-2.0.0)
com.google.api.services.servicemanagement.model
Class Rollout
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.servicemanagement.model.Rollout
-
public final class Rollout
extends com.google.api.client.json.GenericJson
A rollout resource that defines how service configuration versions are pushed to control plane
systems. Typically, you create a new version of the service config, and then create a Rollout to
push the service config.
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 Service Management 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
Rollout()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Rollout
clone()
String
getCreatedBy()
The user who created the Rollout.
String
getCreateTime()
Creation time of the rollout.
DeleteServiceStrategy
getDeleteServiceStrategy()
The strategy associated with a rollout to delete a `ManagedService`.
String
getRolloutId()
Optional.
String
getServiceName()
The name of the service associated with this Rollout.
String
getStatus()
The status of this rollout.
TrafficPercentStrategy
getTrafficPercentStrategy()
Google Service Control selects service configurations based on traffic percentage.
Rollout
set(String fieldName,
Object value)
Rollout
setCreatedBy(String createdBy)
The user who created the Rollout.
Rollout
setCreateTime(String createTime)
Creation time of the rollout.
Rollout
setDeleteServiceStrategy(DeleteServiceStrategy deleteServiceStrategy)
The strategy associated with a rollout to delete a `ManagedService`.
Rollout
setRolloutId(String rolloutId)
Optional.
Rollout
setServiceName(String serviceName)
The name of the service associated with this Rollout.
Rollout
setStatus(String status)
The status of this rollout.
Rollout
setTrafficPercentStrategy(TrafficPercentStrategy trafficPercentStrategy)
Google Service Control selects service configurations based on traffic percentage.
-
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
-
getCreateTime
public String getCreateTime()
Creation time of the rollout. Readonly.
- Returns:
- value or
null
for none
-
setCreateTime
public Rollout setCreateTime(String createTime)
Creation time of the rollout. Readonly.
- Parameters:
createTime
- createTime or null
for none
-
getCreatedBy
public String getCreatedBy()
The user who created the Rollout. Readonly.
- Returns:
- value or
null
for none
-
setCreatedBy
public Rollout setCreatedBy(String createdBy)
The user who created the Rollout. Readonly.
- Parameters:
createdBy
- createdBy or null
for none
-
getDeleteServiceStrategy
public DeleteServiceStrategy getDeleteServiceStrategy()
The strategy associated with a rollout to delete a `ManagedService`. Readonly.
- Returns:
- value or
null
for none
-
setDeleteServiceStrategy
public Rollout setDeleteServiceStrategy(DeleteServiceStrategy deleteServiceStrategy)
The strategy associated with a rollout to delete a `ManagedService`. Readonly.
- Parameters:
deleteServiceStrategy
- deleteServiceStrategy or null
for none
-
getRolloutId
public String getRolloutId()
Optional. Unique identifier of this Rollout. Must be no longer than 63 characters and only
lower case letters, digits, '.', '_' and '-' are allowed. If not specified by client, the
server will generate one. The generated id will have the form of , where "date" is the create
date in ISO 8601 format. "revision number" is a monotonically increasing positive number that
is reset every day for each service. An example of the generated rollout_id is '2016-02-16r1'
- Returns:
- value or
null
for none
-
setRolloutId
public Rollout setRolloutId(String rolloutId)
Optional. Unique identifier of this Rollout. Must be no longer than 63 characters and only
lower case letters, digits, '.', '_' and '-' are allowed. If not specified by client, the
server will generate one. The generated id will have the form of , where "date" is the create
date in ISO 8601 format. "revision number" is a monotonically increasing positive number that
is reset every day for each service. An example of the generated rollout_id is '2016-02-16r1'
- Parameters:
rolloutId
- rolloutId or null
for none
-
getServiceName
public String getServiceName()
The name of the service associated with this Rollout.
- Returns:
- value or
null
for none
-
setServiceName
public Rollout setServiceName(String serviceName)
The name of the service associated with this Rollout.
- Parameters:
serviceName
- serviceName or null
for none
-
getStatus
public String getStatus()
The status of this rollout. Readonly. In case of a failed rollout, the system will
automatically rollback to the current Rollout version. Readonly.
- Returns:
- value or
null
for none
-
setStatus
public Rollout setStatus(String status)
The status of this rollout. Readonly. In case of a failed rollout, the system will
automatically rollback to the current Rollout version. Readonly.
- Parameters:
status
- status or null
for none
-
getTrafficPercentStrategy
public TrafficPercentStrategy getTrafficPercentStrategy()
Google Service Control selects service configurations based on traffic percentage.
- Returns:
- value or
null
for none
-
setTrafficPercentStrategy
public Rollout setTrafficPercentStrategy(TrafficPercentStrategy trafficPercentStrategy)
Google Service Control selects service configurations based on traffic percentage.
- Parameters:
trafficPercentStrategy
- trafficPercentStrategy or null
for none
-
set
public Rollout set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public Rollout clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy