Resource Settings v1 API - Class SettingMetadata (2.3.0)

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

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

Metadata about a setting which is not editable by the end user.

Inheritance

object > SettingMetadata

Namespace

Google.Cloud.ResourceSettings.V1

Assembly

Google.Cloud.ResourceSettings.V1.dll

Constructors

SettingMetadata()

public SettingMetadata()

SettingMetadata(SettingMetadata)

public SettingMetadata(SettingMetadata other)
Parameter
NameDescription
otherSettingMetadata

Properties

DataType

public SettingMetadata.Types.DataType DataType { get; set; }

The data type for this setting.

Property Value
TypeDescription
SettingMetadataTypesDataType

DefaultValue

public Value DefaultValue { get; set; }

The value provided by [Setting.effective_value][google.cloud.resourcesettings.v1.Setting.effective_value] if no setting value is explicitly set.

Note: not all settings have a default value.

Property Value
TypeDescription
Value

Description

public string Description { get; set; }

A detailed description of what this setting does.

Property Value
TypeDescription
string

DisplayName

public string DisplayName { get; set; }

The human readable name for this setting.

Property Value
TypeDescription
string

ReadOnly

public bool ReadOnly { get; set; }

A flag indicating that values of this setting cannot be modified (see documentation of the specific setting for updates and reasons).

Property Value
TypeDescription
bool