Class: Google::Cloud::OsConfig::V1::OSPolicy::Resource::RepositoryResource::YumRepository
- Inherits:
-
Object
- Object
- Google::Cloud::OsConfig::V1::OSPolicy::Resource::RepositoryResource::YumRepository
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/osconfig/v1/os_policy.rb
Overview
Represents a single yum package repository. These are added to a
repo file that is managed at
/etc/yum.repos.d/google_osconfig.repo
.
Instance Attribute Summary collapse
-
#base_url ⇒ ::String
Required.
-
#display_name ⇒ ::String
The display name of the repository.
-
#gpg_keys ⇒ ::Array<::String>
URIs of GPG keys.
-
#id ⇒ ::String
Required.
Instance Attribute Details
#base_url ⇒ ::String
Returns Required. The location of the repository directory.
364 365 366 367 |
# File 'proto_docs/google/cloud/osconfig/v1/os_policy.rb', line 364 class YumRepository include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#display_name ⇒ ::String
Returns The display name of the repository.
364 365 366 367 |
# File 'proto_docs/google/cloud/osconfig/v1/os_policy.rb', line 364 class YumRepository include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#gpg_keys ⇒ ::Array<::String>
Returns URIs of GPG keys.
364 365 366 367 |
# File 'proto_docs/google/cloud/osconfig/v1/os_policy.rb', line 364 class YumRepository include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#id ⇒ ::String
Returns 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 resource conflicts.
364 365 366 367 |
# File 'proto_docs/google/cloud/osconfig/v1/os_policy.rb', line 364 class YumRepository include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |