View Source GoogleApi.OSConfig.V1.Model.OSPolicyResourceRepositoryResourceAptRepository (google_api_os_config v0.21.1)

Represents a single apt package repository. These will be added to a repo file that will be managed at /etc/apt/sources.list.d/google_osconfig.list.

Attributes

  • archiveType (type: String.t, default: nil) - Required. Type of archive files in this repository.
  • components (type: list(String.t), default: nil) - Required. List of components for this repository. Must contain at least one item.
  • distribution (type: String.t, default: nil) - Required. Distribution of this repository.
  • gpgKey (type: String.t, default: nil) - URI of the key file for this repository. The agent maintains a keyring at /etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg.
  • uri (type: String.t, default: nil) - Required. URI for this repository.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.OSConfig.V1.Model.OSPolicyResourceRepositoryResourceAptRepository{
    archiveType: String.t() | nil,
    components: [String.t()] | nil,
    distribution: String.t() | nil,
    gpgKey: String.t() | nil,
    uri: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.