Backup and DR Service v1beta API - Class KeyValuePair (1.0.0-beta01)

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

Reference documentation and code samples for the Backup and DR Service v1beta API class KeyValuePair.

KeyValuePair defines a key-value pair for matching resource labels.

Inheritance

object > KeyValuePair

Namespace

Google.Cloud.BackupDR.V1Beta

Assembly

Google.Cloud.BackupDR.V1Beta.dll

Constructors

KeyValuePair()

public KeyValuePair()

KeyValuePair(KeyValuePair)

public KeyValuePair(KeyValuePair other)
Parameter
Name Description
other KeyValuePair

Properties

Key

public string Key { get; set; }

Required. The key of the label to match. This must be in the format {label_key}. The key must match the regex Format:[\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62}.

Property Value
Type Description
string

Values

public RepeatedField<string> Values { get; }

Required. The values of the label to match. There will be explicit “OR” between values of array. Each value must be in the format {label_value}. The value must match the regex Format: [\\p{Ll}\\p{Lo}\\p{N}_-]{1,63}.

Property Value
Type Description
RepeatedFieldstring