public sealed class Entry : IMessage<Entry>, IEquatable<Entry>, IDeepCloneable<Entry>, IBufferMessage, IMessage
Reference documentation and code samples for the Backup and DR Service v1 API class Entry.
A key/value pair to be used for storing metadata.
Namespace
Google.Cloud.BackupDR.V1Assembly
Google.Cloud.BackupDR.V1.dll
Constructors
Entry()
public Entry()
Entry(Entry)
public Entry(Entry other)
Parameter | |
---|---|
Name | Description |
other |
Entry |
Properties
HasKey
public bool HasKey { get; }
Gets whether the "key" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasValue
public bool HasValue { get; }
Gets whether the "value" field is set
Property Value | |
---|---|
Type | Description |
bool |
Key
public string Key { get; set; }
Optional. Key for the metadata entry.
Property Value | |
---|---|
Type | Description |
string |
Value
public string Value { get; set; }
Optional. Value for the metadata entry. These are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on values is that their size must be less than or equal to 262144 bytes (256 KiB).
Property Value | |
---|---|
Type | Description |
string |