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

Represents a single zypper package repository. These are added to a repo file that is managed at /etc/zypp/repos.d/google_osconfig.repo.

Attributes

  • baseUrl (type: String.t, default: nil) - Required. The location of the repository directory.
  • displayName (type: String.t, default: nil) - The display name of the repository.
  • gpgKeys (type: list(String.t), default: nil) - URIs of GPG keys.
  • id (type: String.t, default: nil) - Required. A one word, unique name for this repository. This is the repo id in the zypper config file and also the display_name if display_name is omitted. This id is also used as the unique identifier when checking for GuestPolicy conflicts.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.OSConfig.V1.Model.OSPolicyResourceRepositoryResourceZypperRepository{
    baseUrl: String.t() | nil,
    displayName: String.t() | nil,
    gpgKeys: [String.t()] | nil,
    id: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.