google_api_service_control v0.6.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: null.
  • 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: null.
  • type (String.t): The type of the consumer which should have been defined in Google Resource Manager. Defaults to: null.

    • Enum - one of [CONSUMER_TYPE_UNSPECIFIED, PROJECT, FOLDER, ORGANIZATION, SERVICE_SPECIFIC]

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: any(),
  projectNumber: any(),
  type: any()
}

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.