google_api_service_control v0.8.0 GoogleApi.ServiceControl.V1.Model.ConsumerInfo View Source

ConsumerInfo provides information about the consumer.

Attributes

  • consumerNumber (String.t): 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. Defaults to nil.
  • projectNumber (String.t): The Google cloud project number, e.g. 1234567890. A value of 0 indicates no project number is found.

NOTE: This field is deprecated after Chemist support flexible consumer id. New code should not depend on this field anymore. Defaults to nil.

  • type (String.t): The type of the consumer which should have been defined in Google Resource Manager. Defaults to nil.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.ServiceControl.V1.Model.ConsumerInfo{
  consumerNumber: String.t(),
  projectNumber: String.t(),
  type: String.t()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.