class Google::Apis::OsconfigV1beta::YumRepository
Represents a single Yum package repository. This repository is added to a repo file that is stored at `/etc/yum.repos.d/google_osconfig.repo`.
Attributes
Required. The location of the repository directory. Corresponds to the JSON property `baseUrl` @return [String]
The display name of the repository. Corresponds to the JSON property `displayName` @return [String]
URIs of GPG keys. Corresponds to the JSON property `gpgKeys` @return [Array<String>]
Required. A one word, unique name for this repository. This is the `repo id` in the Yum config file and also the `display_name` if `display_name` is omitted. This id is also used as the unique identifier when checking for guest policy conflicts. Corresponds to the JSON property `id` @return [String]
Public Class Methods
# File lib/google/apis/osconfig_v1beta/classes.rb, line 2243 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/osconfig_v1beta/classes.rb, line 2248 def update!(**args) @base_url = args[:base_url] if args.key?(:base_url) @display_name = args[:display_name] if args.key?(:display_name) @gpg_keys = args[:gpg_keys] if args.key?(:gpg_keys) @id = args[:id] if args.key?(:id) end