Show / Hide Table of Contents

Class Label

A Label is additional information that can be added to an entity.

Inheritance
object
Label
Implements
IMessage<Label>
IEquatable<Label>
IDeepCloneable<Label>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class Label : IMessage<Label>, IEquatable<Label>, IDeepCloneable<Label>, IBufferMessage, IMessage

Constructors

Label()

Declaration
public Label()

Label(Label)

Declaration
public Label(Label other)
Parameters
Type Name Description
Label other

Properties

Active

Output only. Specifies whether or not the label is active.

Declaration
public bool Active { get; set; }
Property Value
Type Description
bool

Description

Optional. A description of the label. This attribute has a maximum length of 255 characters.

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

DisplayName

Required. Display name of the Label. This attribute has a maximum length of 127 characters.

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

HasActive

Gets whether the "active" field is set

Declaration
public bool HasActive { get; }
Property Value
Type Description
bool

HasDescription

Gets whether the "description" field is set

Declaration
public bool HasDescription { get; }
Property Value
Type Description
bool

HasDisplayName

Gets whether the "display_name" field is set

Declaration
public bool HasDisplayName { get; }
Property Value
Type Description
bool

LabelName

LabelName-typed view over the Name resource name property.

Declaration
public LabelName LabelName { get; set; }
Property Value
Type Description
LabelName

Name

Identifier. The resource name of the Label. Format: networks/{network_code}/labels/{label_id}

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

Types_

Required. Unordered list. The types of the Label.

Declaration
public RepeatedField<LabelTypeEnum.Types.LabelType> Types_ { get; }
Property Value
Type Description
RepeatedField<LabelTypeEnum.Types.LabelType>
In this article
Back to top Generated by DocFX