Resource Settings v1 API - Class Value (2.4.0)

public sealed class Value : IMessage<Value>, IEquatable<Value>, IDeepCloneable<Value>, IBufferMessage, IMessage

Reference documentation and code samples for the Resource Settings v1 API class Value.

The data in a setting value.

Inheritance

object > Value

Namespace

Google.Cloud.ResourceSettings.V1

Assembly

Google.Cloud.ResourceSettings.V1.dll

Constructors

Value()

public Value()

Value(Value)

public Value(Value other)
Parameter
Name Description
other Value

Properties

BooleanValue

public bool BooleanValue { get; set; }

Defines this value as being a boolean value.

Property Value
Type Description
bool

EnumValue

public Value.Types.EnumValue EnumValue { get; set; }

Defines this value as being a Enum.

Property Value
Type Description
ValueTypesEnumValue

HasBooleanValue

public bool HasBooleanValue { get; }

Gets whether the "boolean_value" field is set

Property Value
Type Description
bool

HasStringValue

public bool HasStringValue { get; }

Gets whether the "string_value" field is set

Property Value
Type Description
bool

StringSetValue

public Value.Types.StringSet StringSetValue { get; set; }

Defines this value as being a StringSet.

Property Value
Type Description
ValueTypesStringSet

StringValue

public string StringValue { get; set; }

Defines this value as being a string value.

Property Value
Type Description
string

ValueCase

public Value.ValueOneofCase ValueCase { get; }
Property Value
Type Description
ValueValueOneofCase