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.

Generated from protobuf message google.api.servicemanagement.v1.Rollout

CloneableInstantiable
ExtendsGoogle\Protobuf\Internal\Message
Methods
public __construct( $data = NULL)
 
Constructor.

    public Google\Protobuf\Internal\Message::byteSize()
     


    • ignore
    public Google\Protobuf\Internal\Message::clear()
    public Google\Protobuf\Internal\Message::discardUnknownFields()
    public getCreatedBy()
     
    The user who created the Rollout. Readonly.

    Generated from protobuf field string created_by = 3;

    • return string
    public getCreateTime()
     
    Creation time of the rollout. Readonly.

    Generated from protobuf field .google.protobuf.Timestamp create_time = 2;

    public getDeleteServiceStrategy()
     
    The strategy associated with a rollout to delete a `ManagedService`.

    Readonly.

    Generated from protobuf field .google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy delete_service_strategy = 200;

    public 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'

    Generated from protobuf field string rollout_id = 1 [(.google.api.field_behavior) = OPTIONAL];

    • return string
    public getServiceName()
     
    The name of the service associated with this Rollout.

    Generated from protobuf field string service_name = 8;

    • return string
    public getStatus()
     
    The status of this rollout. Readonly. In case of a failed rollout, the system will automatically rollback to the current Rollout version. Readonly.

    Generated from protobuf field .google.api.servicemanagement.v1.Rollout.RolloutStatus status = 4;

    • return int
    public getStrategy()
     


    • return string
    public getTrafficPercentStrategy()
     
    Google Service Control selects service configurations based on traffic percentage.

    Generated from protobuf field .google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy traffic_percent_strategy = 5;

    public Google\Protobuf\Internal\Message::jsonByteSize()
     


    • ignore
    public Google\Protobuf\Internal\Message::mergeFrom( $msg)
    public Google\Protobuf\Internal\Message::mergeFromJsonString( $data)
    public Google\Protobuf\Internal\Message::mergeFromString( $data)
    public Google\Protobuf\Internal\Message::parseFromJsonStream( $input)
     


    • ignore
    public Google\Protobuf\Internal\Message::parseFromStream( $input)
     


    • ignore
    public Google\Protobuf\Internal\Message::serializeToJsonStream( $output)
     


    • ignore
    public Google\Protobuf\Internal\Message::serializeToJsonString()
     
    Serialize the message to json string.

    • return string Serialized json protobuf data.
    public Google\Protobuf\Internal\Message::serializeToStream( $output)
     


    • ignore
    public Google\Protobuf\Internal\Message::serializeToString()
     
    Serialize the message to string.

    • return string Serialized binary protobuf data.
    public setCreatedBy( $var)
     
    The user who created the Rollout. Readonly.

    Generated from protobuf field string created_by = 3;

    • return $this
    public setCreateTime( $var)
     
    Creation time of the rollout. Readonly.

    Generated from protobuf field .google.protobuf.Timestamp create_time = 2;

    • return $this
    public setDeleteServiceStrategy( $var)
     
    The strategy associated with a rollout to delete a `ManagedService`.

    Readonly.

    Generated from protobuf field .google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy delete_service_strategy = 200;

    • return $this
    public setRolloutId( $var)
     
    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'

    Generated from protobuf field string rollout_id = 1 [(.google.api.field_behavior) = OPTIONAL];

    • return $this
    public setServiceName( $var)
     
    The name of the service associated with this Rollout.

    Generated from protobuf field string service_name = 8;

    • return $this
    public setStatus( $var)
     
    The status of this rollout. Readonly. In case of a failed rollout, the system will automatically rollback to the current Rollout version. Readonly.

    Generated from protobuf field .google.api.servicemanagement.v1.Rollout.RolloutStatus status = 4;

    • return $this
    public setTrafficPercentStrategy( $var)
     
    Google Service Control selects service configurations based on traffic percentage.

    Generated from protobuf field .google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy traffic_percent_strategy = 5;

    • return $this
    Properties
    protected $strategy
    Methods
    protected Google\Protobuf\Internal\Message::mergeFromArray(array $array)
    protected Google\Protobuf\Internal\Message::mergeFromJsonArray( $array)
    protected Google\Protobuf\Internal\Message::readOneof( $number)
    protected Google\Protobuf\Internal\Message::readWrapperValue( $member)
    protected Google\Protobuf\Internal\Message::whichOneof( $oneof_name)
    protected Google\Protobuf\Internal\Message::writeOneof( $number, $value)
    protected Google\Protobuf\Internal\Message::writeWrapperValue( $member, $value)
    Properties
    private $create_time
     
    Creation time of the rollout. Readonly.

    Generated from protobuf field .google.protobuf.Timestamp create_time = 2;

    private $created_by
     
    The user who created the Rollout. Readonly.

    Generated from protobuf field string created_by = 3;

    private $rollout_id
     
    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'

    Generated from protobuf field string rollout_id = 1 [(.google.api.field_behavior) = OPTIONAL];

    private $service_name
     
    The name of the service associated with this Rollout.

    Generated from protobuf field string service_name = 8;

    private $status
     
    The status of this rollout. Readonly. In case of a failed rollout, the system will automatically rollback to the current Rollout version. Readonly.

    Generated from protobuf field .google.api.servicemanagement.v1.Rollout.RolloutStatus status = 4;

    Methods
    private Google\Protobuf\Internal\Message::appendHelper( $field, $append_value)
    private Google\Protobuf\Internal\Message::convertJsonValueToProtoValue( $value, $field, $is_map_key = false)
    private Google\Protobuf\Internal\Message::defaultValue( $field)
     


    • ignore
    private Google\Protobuf\Internal\Message::existField( $field)
     


    • ignore
    private Google\Protobuf\Internal\Message::fieldByteSize( $field)
     


    • ignore
    private Google\Protobuf\Internal\Message::fieldDataOnlyByteSize( $field, $value)
     


    • ignore
    private Google\Protobuf\Internal\Message::fieldDataOnlyJsonByteSize( $field, $value)
     


    • ignore
    private Google\Protobuf\Internal\Message::fieldJsonByteSize( $field)
     


    • ignore
    private Google\Protobuf\Internal\Message::initWithDescriptor(Google\Protobuf\Internal\Descriptor $desc)
     


    • ignore
    private Google\Protobuf\Internal\Message::initWithGeneratedPool()
     


    • ignore
    private Google\Protobuf\Internal\Message::kvUpdateHelper( $field, $update_key, $update_value)
    private Google\Protobuf\Internal\Message::mergeFromArrayJsonImpl( $array)
    private static Google\Protobuf\Internal\Message::normalizeArrayElementsToMessageType( $value, $class)
     
    Tries to normalize the elements in $value into a provided protobuf wrapper type $class. If $value is any type other than array, we do not do any conversion, and instead rely on the existing protobuf type checking. If $value is an array, we process each element and try to convert it to an instance of $class.

      private static Google\Protobuf\Internal\Message::normalizeToMessageType( $value, $class)
       
      Tries to normalize $value into a provided protobuf wrapper type $class.

      If $value is any type other than an object, we attempt to construct an
      instance of $class and assign $value to it using the setValue method
      shared by all wrapper types.

      This method will raise an error if it receives a type that cannot be
      assigned to the wrapper type via setValue.

        private Google\Protobuf\Internal\Message::parseFieldFromStream( $tag, $input, $field)
         


        • ignore
        private static Google\Protobuf\Internal\Message::parseFieldFromStreamNoTag( $input, $field, $value)
         


        • ignore
        private Google\Protobuf\Internal\Message::repeatedFieldDataOnlyByteSize( $field)
         


        • ignore
        private Google\Protobuf\Internal\Message::serializeFieldToJsonStream( $output, $field)
         


        • ignore
        private Google\Protobuf\Internal\Message::serializeFieldToStream( $output, $field)
         


        • ignore
        private Google\Protobuf\Internal\Message::serializeMapFieldToStream( $field, $output)
         


        • ignore
        private Google\Protobuf\Internal\Message::serializeRepeatedFieldToStream( $field, $output)
         


        • ignore
        private Google\Protobuf\Internal\Message::serializeSingularFieldToStream( $field, $output)
         


        • ignore
        private Google\Protobuf\Internal\Message::skipField( $input, $tag)
         


        • ignore
        Methods
        private static Google\Protobuf\Internal\Message::normalizeArrayElementsToMessageType( $value, $class)
         
        Tries to normalize the elements in $value into a provided protobuf wrapper type $class. If $value is any type other than array, we do not do any conversion, and instead rely on the existing protobuf type checking. If $value is an array, we process each element and try to convert it to an instance of $class.

          private static Google\Protobuf\Internal\Message::normalizeToMessageType( $value, $class)
           
          Tries to normalize $value into a provided protobuf wrapper type $class.

          If $value is any type other than an object, we attempt to construct an
          instance of $class and assign $value to it using the setValue method
          shared by all wrapper types.

          This method will raise an error if it receives a type that cannot be
          assigned to the wrapper type via setValue.

            private static Google\Protobuf\Internal\Message::parseFieldFromStreamNoTag( $input, $field, $value)
             


            • ignore
            © 2020 Bruce Wells
            Search Namespaces \ Classes
            ConfigurationNumbers (0-9.) only