GoogleApi.ServiceControl.V1.Model.ConsumerInfo (google_api_service_control v0.35.1) View Source

ConsumerInfo provides information about the consumer.

Attributes

  • consumerNumber (type: String.t, default: nil) - 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.
  • projectNumber (type: String.t, default: nil) - 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.
  • type (type: String.t, default: nil) - The type of the consumer which should have been defined in Google Resource Manager.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.