Gemini Enterprise for Customer Experience V1BETA API - Class Google::Cloud::Ces::V1beta::ExperimentConfig::VersionRelease::TrafficAllocation (v0.2.0)

Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::ExperimentConfig::VersionRelease::TrafficAllocation.

Traffic allocation for the version release.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#app_version

def app_version() -> ::String
Returns
  • (::String) — Optional. App version of the traffic allocation. Format: projects/{project}/locations/{location}/apps/{app}/versions/{version}

#app_version=

def app_version=(value) -> ::String
Parameter
  • value (::String) — 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}

#id

def id() -> ::String
Returns
  • (::String) — Optional. Id of the traffic allocation. Free format string, up to 128 characters.

#id=

def id=(value) -> ::String
Parameter
  • value (::String) — 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.

#traffic_percentage

def traffic_percentage() -> ::Integer
Returns
  • (::Integer) — Optional. Traffic percentage of the traffic allocation. Must be between 0 and 100.

#traffic_percentage=

def traffic_percentage=(value) -> ::Integer
Parameter
  • value (::Integer) — 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.