Show / Hide Table of Contents

Class Label

A key-value pair applied to a given object.

Inheritance
object
Label
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Pubsub.v1beta1a.Data
Assembly: Google.Apis.Pubsub.v1beta1a.dll
Syntax
public class Label : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Key

The key of a label is a syntactically valid URL (as per RFC 1738) with the "scheme" and initial slashes omitted and with the additional restrictions noted below. Each key should be globally unique. The "host" portion is called the "namespace" and is not necessarily resolvable to a network endpoint. Instead, the namespace indicates what system or entity defines the semantics of the label. Namespaces do not restrict the set of objects to which a label may be associated. Keys are defined by the following grammar: key = hostname "/" kpath kpath = ksegment *[ "/" ksegment ] ksegment = alphadigit | *[ alphadigit | "-" | "_" | "." ] where "hostname" and "alphadigit" are defined as in RFC 1738. Example key: spanner.google.com/universe

Declaration
[JsonProperty("key")]
public virtual string Key { get; set; }
Property Value
Type Description
string

NumValue

An integer value.

Declaration
[JsonProperty("numValue")]
public virtual long? NumValue { get; set; }
Property Value
Type Description
long?

StrValue

A string value.

Declaration
[JsonProperty("strValue")]
public virtual string StrValue { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX