Class ConsumerInfo

ConsumerInfo provides information about the consumer.

Attributes
NameDescription
intproject_number
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.
google.cloud.servicecontrol_v1.types.CheckResponse.ConsumerInfo.ConsumerTypetype_
The type of the consumer which should have been defined in `Google Resource Manager
intconsumer_number
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.

Inheritance

builtins.object > proto.message.Message > ConsumerInfo

Classes

ConsumerType

ConsumerType(value)

The type of the consumer as defined in Google Resource Manager <https://cloud.google.com/resource-manager/>__.