Class: Google::Cloud::Ces::V1beta::ExperimentConfig::VersionRelease::TrafficAllocation

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/ces/v1beta/deployment.rb

Overview

Traffic allocation for the version release.

Instance Attribute Summary collapse

Instance Attribute Details

#app_version::String

Returns Optional. App version of the traffic allocation. Format: projects/{project}/locations/{location}/apps/{app}/versions/{version}.

Returns:

  • (::String)

    Optional. App version of the traffic allocation. Format: projects/{project}/locations/{location}/apps/{app}/versions/{version}



57
58
59
60
# File 'proto_docs/google/cloud/ces/v1beta/deployment.rb', line 57

class TrafficAllocation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#id::String

Returns Optional. Id of the traffic allocation. Free format string, up to 128 characters.

Returns:

  • (::String)

    Optional. Id of the traffic allocation. Free format string, up to 128 characters.



57
58
59
60
# File 'proto_docs/google/cloud/ces/v1beta/deployment.rb', line 57

class TrafficAllocation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#traffic_percentage::Integer

Returns Optional. Traffic percentage of the traffic allocation. Must be between 0 and 100.

Returns:

  • (::Integer)

    Optional. Traffic percentage of the traffic allocation. Must be between 0 and 100.



57
58
59
60
# File 'proto_docs/google/cloud/ces/v1beta/deployment.rb', line 57

class TrafficAllocation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end