View Source GoogleApi.ServiceUsage.V1.Model.GoogleApiServiceusageV1Service (google_api_service_usage v0.19.0)

A service that is available for use by the consumer.

Attributes

  • config (type: GoogleApi.ServiceUsage.V1.Model.GoogleApiServiceusageV1ServiceConfig.t, default: nil) - The service configuration of the available service. Some fields may be filtered out of the configuration in responses to the ListServices method. These fields are present only in responses to the GetService method.
  • name (type: String.t, default: nil) - The resource name of the consumer and service. A valid name would be: - projects/123/services/serviceusage.googleapis.com
  • parent (type: String.t, default: nil) - The resource name of the consumer. A valid name would be: - projects/123
  • state (type: String.t, default: nil) - Whether or not the service has been enabled for use by the consumer.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ServiceUsage.V1.Model.GoogleApiServiceusageV1Service{
  config:
    GoogleApi.ServiceUsage.V1.Model.GoogleApiServiceusageV1ServiceConfig.t()
    | nil,
  name: String.t() | nil,
  parent: String.t() | nil,
  state: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.