public sealed class ScalingConfig : IMessage<ScalingConfig>, IEquatable<ScalingConfig>, IDeepCloneable<ScalingConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Dataproc Metastore v1alpha API class ScalingConfig.
Represents the scaling configuration of a metastore service.
Implements
IMessageScalingConfig, IEquatableScalingConfig, IDeepCloneableScalingConfig, IBufferMessage, IMessageNamespace
Google.Cloud.Metastore.V1AlphaAssembly
Google.Cloud.Metastore.V1Alpha.dll
Constructors
ScalingConfig()
public ScalingConfig()
ScalingConfig(ScalingConfig)
public ScalingConfig(ScalingConfig other)
Parameter | |
---|---|
Name | Description |
other | ScalingConfig |
Properties
HasInstanceSize
public bool HasInstanceSize { get; }
Gets whether the "instance_size" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasScalingFactor
public bool HasScalingFactor { get; }
Gets whether the "scaling_factor" field is set
Property Value | |
---|---|
Type | Description |
bool |
InstanceSize
public ScalingConfig.Types.InstanceSize InstanceSize { get; set; }
An enum of readable instance sizes, with each instance size mapping to a float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1))
Property Value | |
---|---|
Type | Description |
ScalingConfigTypesInstanceSize |
ScalingFactor
public float ScalingFactor { get; set; }
Scaling factor, increments of 0.1 for values less than 1.0, and increments of 1.0 for values greater than 1.0.
Property Value | |
---|---|
Type | Description |
float |
ScalingModelCase
public ScalingConfig.ScalingModelOneofCase ScalingModelCase { get; }
Property Value | |
---|---|
Type | Description |
ScalingConfigScalingModelOneofCase |