Class CheckResponse.Types.ConsumerInfo (1.4.0)

public sealed class ConsumerInfo : IMessage<CheckResponse.Types.ConsumerInfo>, IEquatable<CheckResponse.Types.ConsumerInfo>, IDeepCloneable<CheckResponse.Types.ConsumerInfo>, IBufferMessage, IMessage

ConsumerInfo provides information about the consumer.

Inheritance

Object > CheckResponse.Types.ConsumerInfo

Namespace

Google.Cloud.ServiceControl.V1

Assembly

Google.Cloud.ServiceControl.V1.dll

Constructors

ConsumerInfo()

public ConsumerInfo()

ConsumerInfo(CheckResponse.Types.ConsumerInfo)

public ConsumerInfo(CheckResponse.Types.ConsumerInfo other)
Parameter
NameDescription
otherCheckResponse.Types.ConsumerInfo

Properties

ConsumerNumber

public long ConsumerNumber { get; set; }

The consumer identity number, can be Google cloud project number, folder number or organization number e.g. 1234567890. A value of 0 indicates no consumer number is found.

Property Value
TypeDescription
Int64

ProjectNumber

public long ProjectNumber { get; set; }

The Google cloud project number, e.g. 1234567890. A value of 0 indicates no project number is found.

NOTE: This field is deprecated after we support flexible consumer id. New code should not depend on this field anymore.

Property Value
TypeDescription
Int64

Type

public CheckResponse.Types.ConsumerInfo.Types.ConsumerType Type { get; set; }

The type of the consumer which should have been defined in Google Resource Manager.

Property Value
TypeDescription
CheckResponse.Types.ConsumerInfo.Types.ConsumerType