Service Control v1 API - Class CheckResponse.Types.ConsumerInfo (2.4.0)

public sealed class CheckResponse.Types.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.

Inheritance

object > CheckResponse.Types.ConsumerInfo

Namespace

Google.Cloud.ServiceControl.V1

Assembly

Google.Cloud.ServiceControl.V1.dll

Constructors

ConsumerInfo()

public ConsumerInfo()

ConsumerInfo(ConsumerInfo)

public ConsumerInfo(CheckResponse.Types.ConsumerInfo other)
Parameter
Name Description
other CheckResponseTypesConsumerInfo

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
long

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
long

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
CheckResponseTypesConsumerInfoTypesConsumerType