public sealed class InstanceSplit : IMessage<InstanceSplit>, IEquatable<InstanceSplit>, IDeepCloneable<InstanceSplit>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Run Admin v2 API class InstanceSplit.
Holds a single instance split entry for the Worker. Allocations can be done to a specific Revision name, or pointing to the latest Ready Revision.
Implements
IMessageInstanceSplit, IEquatableInstanceSplit, IDeepCloneableInstanceSplit, IBufferMessage, IMessageNamespace
Google.Cloud.Run.V2Assembly
Google.Cloud.Run.V2.dll
Constructors
InstanceSplit()
public InstanceSplit()
InstanceSplit(InstanceSplit)
public InstanceSplit(InstanceSplit other)
Parameter | |
---|---|
Name | Description |
other |
InstanceSplit |
Properties
Percent
public int Percent { get; set; }
Specifies percent of the instance split to this Revision. This defaults to zero if unspecified.
Property Value | |
---|---|
Type | Description |
int |
Revision
public string Revision { get; set; }
Revision to which to assign this portion of instances, if split allocation is by revision.
Property Value | |
---|---|
Type | Description |
string |
RevisionAsRevisionName
public RevisionName RevisionAsRevisionName { get; set; }
RevisionName-typed view over the Revision resource name property.
Property Value | |
---|---|
Type | Description |
RevisionName |
Type
public InstanceSplitAllocationType Type { get; set; }
The allocation type for this instance split.
Property Value | |
---|---|
Type | Description |
InstanceSplitAllocationType |