Class: Google::Cloud::OsConfig::V1::OSPolicy::Resource::RepositoryResource::AptRepository
- Inherits:
-
Object
- Object
- Google::Cloud::OsConfig::V1::OSPolicy::Resource::RepositoryResource::AptRepository
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/osconfig/v1/os_policy.rb
Overview
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
.
Defined Under Namespace
Modules: ArchiveType
Instance Attribute Summary collapse
-
#archive_type ⇒ ::Google::Cloud::OsConfig::V1::OSPolicy::Resource::RepositoryResource::AptRepository::ArchiveType
Required.
-
#components ⇒ ::Array<::String>
Required.
-
#distribution ⇒ ::String
Required.
-
#gpg_key ⇒ ::String
URI of the key file for this repository.
-
#uri ⇒ ::String
Required.
Instance Attribute Details
#archive_type ⇒ ::Google::Cloud::OsConfig::V1::OSPolicy::Resource::RepositoryResource::AptRepository::ArchiveType
Returns Required. Type of archive files in this repository.
329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 |
# File 'proto_docs/google/cloud/osconfig/v1/os_policy.rb', line 329 class AptRepository include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Type of archive. module ArchiveType # Unspecified is invalid. ARCHIVE_TYPE_UNSPECIFIED = 0 # Deb indicates that the archive contains binary files. DEB = 1 # Deb-src indicates that the archive contains source files. DEB_SRC = 2 end end |
#components ⇒ ::Array<::String>
Returns Required. List of components for this repository. Must contain at least one item.
329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 |
# File 'proto_docs/google/cloud/osconfig/v1/os_policy.rb', line 329 class AptRepository include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Type of archive. module ArchiveType # Unspecified is invalid. ARCHIVE_TYPE_UNSPECIFIED = 0 # Deb indicates that the archive contains binary files. DEB = 1 # Deb-src indicates that the archive contains source files. DEB_SRC = 2 end end |
#distribution ⇒ ::String
Returns Required. Distribution of this repository.
329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 |
# File 'proto_docs/google/cloud/osconfig/v1/os_policy.rb', line 329 class AptRepository include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Type of archive. module ArchiveType # Unspecified is invalid. ARCHIVE_TYPE_UNSPECIFIED = 0 # Deb indicates that the archive contains binary files. DEB = 1 # Deb-src indicates that the archive contains source files. DEB_SRC = 2 end end |
#gpg_key ⇒ ::String
Returns URI of the key file for this repository. The agent maintains a
keyring at /etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg
.
329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 |
# File 'proto_docs/google/cloud/osconfig/v1/os_policy.rb', line 329 class AptRepository include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Type of archive. module ArchiveType # Unspecified is invalid. ARCHIVE_TYPE_UNSPECIFIED = 0 # Deb indicates that the archive contains binary files. DEB = 1 # Deb-src indicates that the archive contains source files. DEB_SRC = 2 end end |
#uri ⇒ ::String
Returns Required. URI for this repository.
329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 |
# File 'proto_docs/google/cloud/osconfig/v1/os_policy.rb', line 329 class AptRepository include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Type of archive. module ArchiveType # Unspecified is invalid. ARCHIVE_TYPE_UNSPECIFIED = 0 # Deb indicates that the archive contains binary files. DEB = 1 # Deb-src indicates that the archive contains source files. DEB_SRC = 2 end end |