public sealed class ExperimentConfig.Types.VersionRelease.Types.TrafficAllocation : IMessage<ExperimentConfig.Types.VersionRelease.Types.TrafficAllocation>, IEquatable<ExperimentConfig.Types.VersionRelease.Types.TrafficAllocation>, IDeepCloneable<ExperimentConfig.Types.VersionRelease.Types.TrafficAllocation>, IBufferMessage, IMessageReference documentation and code samples for the Gemini Enterprise for Customer Experience v1beta API class ExperimentConfig.Types.VersionRelease.Types.TrafficAllocation.
Traffic allocation for the version release.
Implements
IMessageExperimentConfigTypesVersionReleaseTypesTrafficAllocation, IEquatableExperimentConfigTypesVersionReleaseTypesTrafficAllocation, IDeepCloneableExperimentConfigTypesVersionReleaseTypesTrafficAllocation, IBufferMessage, IMessageNamespace
Google.Cloud.Ces.V1BetaAssembly
Google.Cloud.Ces.V1Beta.dll
Constructors
TrafficAllocation()
public TrafficAllocation()TrafficAllocation(TrafficAllocation)
public TrafficAllocation(ExperimentConfig.Types.VersionRelease.Types.TrafficAllocation other)| Parameter | |
|---|---|
| Name | Description |
other |
ExperimentConfigTypesVersionReleaseTypesTrafficAllocation |
Properties
AppVersion
public string AppVersion { get; set; }Optional. App version of the traffic allocation.
Format:
projects/{project}/locations/{location}/apps/{app}/versions/{version}
| Property Value | |
|---|---|
| Type | Description |
string |
|
AppVersionAsAppVersionName
public AppVersionName AppVersionAsAppVersionName { get; set; }AppVersionName-typed view over the AppVersion resource name property.
| Property Value | |
|---|---|
| Type | Description |
AppVersionName |
|
Id
public string Id { get; set; }Optional. Id of the traffic allocation. Free format string, up to 128 characters.
| Property Value | |
|---|---|
| Type | Description |
string |
|
TrafficPercentage
public int TrafficPercentage { get; set; }Optional. Traffic percentage of the traffic allocation. Must be between 0 and 100.
| Property Value | |
|---|---|
| Type | Description |
int |
|