Resource Settings v1 API - Class Value (2.2.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
NameDescription
otherValue

Properties

BooleanValue

public bool BooleanValue { get; set; }

Defines this value as being a boolean value.

Property Value
TypeDescription
bool

EnumValue

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

Defines this value as being a Enum.

Property Value
TypeDescription
ValueTypesEnumValue

HasBooleanValue

public bool HasBooleanValue { get; }

Gets whether the "boolean_value" field is set

Property Value
TypeDescription
bool

HasStringValue

public bool HasStringValue { get; }

Gets whether the "string_value" field is set

Property Value
TypeDescription
bool

StringSetValue

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

Defines this value as being a StringSet.

Property Value
TypeDescription
ValueTypesStringSet

StringValue

public string StringValue { get; set; }

Defines this value as being a string value.

Property Value
TypeDescription
string

ValueCase

public Value.ValueOneofCase ValueCase { get; }
Property Value
TypeDescription
ValueValueOneofCase