Reference documentation and code samples for the Cloud OS Config V1alpha API class Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::RepositoryResource::YumRepository.
Represents a single yum package repository. These are added to a
repo file that is managed at
/etc/yum.repos.d/google_osconfig.repo.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#base_url
def base_url() -> ::String
    Returns
    
  - (::String) — Required. The location of the repository directory.
#base_url=
def base_url=(value) -> ::String
    Parameter
    
  - value (::String) — Required. The location of the repository directory.
    Returns
    
  - (::String) — Required. The location of the repository directory.
#display_name
def display_name() -> ::String
    Returns
    
  - (::String) — The display name of the repository.
#display_name=
def display_name=(value) -> ::String
    Parameter
    
  - value (::String) — The display name of the repository.
    Returns
    
  - (::String) — The display name of the repository.
#gpg_keys
def gpg_keys() -> ::Array<::String>
    Returns
    
  - (::Array<::String>) — URIs of GPG keys.
#gpg_keys=
def gpg_keys=(value) -> ::Array<::String>
    Parameter
    
  - value (::Array<::String>) — URIs of GPG keys.
    Returns
    
  - (::Array<::String>) — URIs of GPG keys.
#id
def id() -> ::String
    Returns
    
  - 
        (::String) — Required. A one word, unique name for this repository. This is  the repo idin the yum config file and also thedisplay_nameifdisplay_nameis omitted. This id is also used as the unique identifier when checking for resource conflicts.
#id=
def id=(value) -> ::String
    Parameter
    
  - 
        value (::String) — Required. A one word, unique name for this repository. This is  the repo idin the yum config file and also thedisplay_nameifdisplay_nameis omitted. This id is also used as the unique identifier when checking for resource conflicts.
    Returns
    
- 
        (::String) — Required. A one word, unique name for this repository. This is  the repo idin the yum config file and also thedisplay_nameifdisplay_nameis omitted. This id is also used as the unique identifier when checking for resource conflicts.