All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.servicemanagement.model.Rollout.html Maven / Gradle / Ivy

There is a newer version: v1-rev20241106-2.0.0
Show newest version






Rollout (Service Management API v1-rev20240823-2.0.0)












com.google.api.services.servicemanagement.model

Class Rollout

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    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.
    • Constructor Detail

      • Rollout

        public Rollout()
    • 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