public sealed class ConsumerInfo : IMessage<CheckResponse.Types.ConsumerInfo>, IEquatable<CheckResponse.Types.ConsumerInfo>, IDeepCloneable<CheckResponse.Types.ConsumerInfo>, IBufferMessage, IMessage
Reference documentation and code samples for the Service Control v1 API class CheckResponse.Types.ConsumerInfo.
ConsumerInfo
provides information about the consumer.
Implements
IMessage<CheckResponse.Types.ConsumerInfo>, IEquatable<CheckResponse.Types.ConsumerInfo>, IDeepCloneable<CheckResponse.Types.ConsumerInfo>, IBufferMessage, IMessageNamespace
Google.Cloud.ServiceControl.V1Assembly
Google.Cloud.ServiceControl.V1.dll
Constructors
ConsumerInfo()
public ConsumerInfo()
ConsumerInfo(CheckResponse.Types.ConsumerInfo)
public ConsumerInfo(CheckResponse.Types.ConsumerInfo other)
Parameter | |
---|---|
Name | Description |
other | CheckResponse.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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
CheckResponse.Types.ConsumerInfo.Types.ConsumerType |