Class ConsumerInfo (1.14.0)

ConsumerInfo(mapping=None, *, ignore_unknown_fields=False, **kwargs)

ConsumerInfo provides information about the consumer.

Attributes

Name Description
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.

Classes

ConsumerType

ConsumerType(value)

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