View Source GoogleApi.ServiceConsumerManagement.V1.Model.TenancyUnit (google_api_service_consumer_management v0.32.0)

Representation of a tenancy unit.

Attributes

  • consumer (type: String.t, default: nil) - Output only. @OutputOnly Cloud resource name of the consumer of this service. For example 'projects/123456'.
  • createTime (type: DateTime.t, default: nil) - Output only. @OutputOnly The time this tenancy unit was created.
  • name (type: String.t, default: nil) - Globally unique identifier of this tenancy unit "services/{service}/{collection id}/{resource id}/tenancyUnits/{unit}"
  • service (type: String.t, default: nil) - Output only. Google Cloud API name of the managed service owning this tenancy unit. For example 'serviceconsumermanagement.googleapis.com'.
  • tenantResources (type: list(GoogleApi.ServiceConsumerManagement.V1.Model.TenantResource.t), default: nil) - Resources constituting the tenancy unit. There can be at most 512 tenant resources in a tenancy unit.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ServiceConsumerManagement.V1.Model.TenancyUnit{
  consumer: String.t() | nil,
  createTime: DateTime.t() | nil,
  name: String.t() | nil,
  service: String.t() | nil,
  tenantResources:
    [GoogleApi.ServiceConsumerManagement.V1.Model.TenantResource.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.