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

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.