Class ConsumerInfo (1.5.3)

Stay organized with collections Save and categorize content based on your preferences.
ConsumerInfo(mapping=None, *, ignore_unknown_fields=False, **kwargs)

ConsumerInfo provides information about the consumer.

Attributes

NameDescription
project_number int
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.
type_ google.cloud.servicecontrol_v1.types.CheckResponse.ConsumerInfo.ConsumerType
The type of the consumer which should have been defined in `Google Resource Manager
consumer_number int
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/>__.