Class: Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::RepositoryResource
- Inherits:
-
Object
- Object
- Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::RepositoryResource
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/osconfig/v1alpha/os_policy.rb
Overview
A resource that manages a package repository.
Defined Under Namespace
Classes: AptRepository, GooRepository, YumRepository, ZypperRepository
Instance Attribute Summary collapse
-
#apt ⇒ ::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::RepositoryResource::AptRepository
An Apt Repository.
-
#goo ⇒ ::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::RepositoryResource::GooRepository
A Goo Repository.
-
#yum ⇒ ::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::RepositoryResource::YumRepository
A Yum Repository.
-
#zypper ⇒ ::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::RepositoryResource::ZypperRepository
A Zypper Repository.
Instance Attribute Details
#apt ⇒ ::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::RepositoryResource::AptRepository
Returns An Apt Repository.
322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 |
# File 'proto_docs/google/cloud/osconfig/v1alpha/os_policy.rb', line 322 class RepositoryResource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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`. # @!attribute [rw] archive_type # @return [::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::RepositoryResource::AptRepository::ArchiveType] # Required. Type of archive files in this repository. # @!attribute [rw] uri # @return [::String] # Required. URI for this repository. # @!attribute [rw] distribution # @return [::String] # Required. Distribution of this repository. # @!attribute [rw] components # @return [::Array<::String>] # Required. List of components for this repository. Must contain at least one # item. # @!attribute [rw] gpg_key # @return [::String] # URI of the key file for this repository. The agent maintains a # keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`. 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 # Represents a single yum package repository. These are added to a # repo file that is managed at # `/etc/yum.repos.d/google_osconfig.repo`. # @!attribute [rw] id # @return [::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 resource conflicts. # @!attribute [rw] display_name # @return [::String] # The display name of the repository. # @!attribute [rw] base_url # @return [::String] # Required. The location of the repository directory. # @!attribute [rw] gpg_keys # @return [::Array<::String>] # URIs of GPG keys. class YumRepository include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents a single zypper package repository. These are added to a # repo file that is managed at # `/etc/zypp/repos.d/google_osconfig.repo`. # @!attribute [rw] id # @return [::String] # 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. # @!attribute [rw] display_name # @return [::String] # The display name of the repository. # @!attribute [rw] base_url # @return [::String] # Required. The location of the repository directory. # @!attribute [rw] gpg_keys # @return [::Array<::String>] # URIs of GPG keys. class ZypperRepository include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents a Goo package repository. These are added to a repo file # that is managed at # `C:/ProgramData/GooGet/repos/google_osconfig.repo`. # @!attribute [rw] name # @return [::String] # Required. The name of the repository. # @!attribute [rw] url # @return [::String] # Required. The url of the repository. class GooRepository include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#goo ⇒ ::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::RepositoryResource::GooRepository
Returns A Goo Repository.
322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 |
# File 'proto_docs/google/cloud/osconfig/v1alpha/os_policy.rb', line 322 class RepositoryResource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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`. # @!attribute [rw] archive_type # @return [::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::RepositoryResource::AptRepository::ArchiveType] # Required. Type of archive files in this repository. # @!attribute [rw] uri # @return [::String] # Required. URI for this repository. # @!attribute [rw] distribution # @return [::String] # Required. Distribution of this repository. # @!attribute [rw] components # @return [::Array<::String>] # Required. List of components for this repository. Must contain at least one # item. # @!attribute [rw] gpg_key # @return [::String] # URI of the key file for this repository. The agent maintains a # keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`. 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 # Represents a single yum package repository. These are added to a # repo file that is managed at # `/etc/yum.repos.d/google_osconfig.repo`. # @!attribute [rw] id # @return [::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 resource conflicts. # @!attribute [rw] display_name # @return [::String] # The display name of the repository. # @!attribute [rw] base_url # @return [::String] # Required. The location of the repository directory. # @!attribute [rw] gpg_keys # @return [::Array<::String>] # URIs of GPG keys. class YumRepository include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents a single zypper package repository. These are added to a # repo file that is managed at # `/etc/zypp/repos.d/google_osconfig.repo`. # @!attribute [rw] id # @return [::String] # 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. # @!attribute [rw] display_name # @return [::String] # The display name of the repository. # @!attribute [rw] base_url # @return [::String] # Required. The location of the repository directory. # @!attribute [rw] gpg_keys # @return [::Array<::String>] # URIs of GPG keys. class ZypperRepository include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents a Goo package repository. These are added to a repo file # that is managed at # `C:/ProgramData/GooGet/repos/google_osconfig.repo`. # @!attribute [rw] name # @return [::String] # Required. The name of the repository. # @!attribute [rw] url # @return [::String] # Required. The url of the repository. class GooRepository include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#yum ⇒ ::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::RepositoryResource::YumRepository
Returns A Yum Repository.
322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 |
# File 'proto_docs/google/cloud/osconfig/v1alpha/os_policy.rb', line 322 class RepositoryResource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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`. # @!attribute [rw] archive_type # @return [::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::RepositoryResource::AptRepository::ArchiveType] # Required. Type of archive files in this repository. # @!attribute [rw] uri # @return [::String] # Required. URI for this repository. # @!attribute [rw] distribution # @return [::String] # Required. Distribution of this repository. # @!attribute [rw] components # @return [::Array<::String>] # Required. List of components for this repository. Must contain at least one # item. # @!attribute [rw] gpg_key # @return [::String] # URI of the key file for this repository. The agent maintains a # keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`. 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 # Represents a single yum package repository. These are added to a # repo file that is managed at # `/etc/yum.repos.d/google_osconfig.repo`. # @!attribute [rw] id # @return [::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 resource conflicts. # @!attribute [rw] display_name # @return [::String] # The display name of the repository. # @!attribute [rw] base_url # @return [::String] # Required. The location of the repository directory. # @!attribute [rw] gpg_keys # @return [::Array<::String>] # URIs of GPG keys. class YumRepository include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents a single zypper package repository. These are added to a # repo file that is managed at # `/etc/zypp/repos.d/google_osconfig.repo`. # @!attribute [rw] id # @return [::String] # 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. # @!attribute [rw] display_name # @return [::String] # The display name of the repository. # @!attribute [rw] base_url # @return [::String] # Required. The location of the repository directory. # @!attribute [rw] gpg_keys # @return [::Array<::String>] # URIs of GPG keys. class ZypperRepository include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents a Goo package repository. These are added to a repo file # that is managed at # `C:/ProgramData/GooGet/repos/google_osconfig.repo`. # @!attribute [rw] name # @return [::String] # Required. The name of the repository. # @!attribute [rw] url # @return [::String] # Required. The url of the repository. class GooRepository include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#zypper ⇒ ::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::RepositoryResource::ZypperRepository
Returns A Zypper Repository.
322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 |
# File 'proto_docs/google/cloud/osconfig/v1alpha/os_policy.rb', line 322 class RepositoryResource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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`. # @!attribute [rw] archive_type # @return [::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::RepositoryResource::AptRepository::ArchiveType] # Required. Type of archive files in this repository. # @!attribute [rw] uri # @return [::String] # Required. URI for this repository. # @!attribute [rw] distribution # @return [::String] # Required. Distribution of this repository. # @!attribute [rw] components # @return [::Array<::String>] # Required. List of components for this repository. Must contain at least one # item. # @!attribute [rw] gpg_key # @return [::String] # URI of the key file for this repository. The agent maintains a # keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`. 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 # Represents a single yum package repository. These are added to a # repo file that is managed at # `/etc/yum.repos.d/google_osconfig.repo`. # @!attribute [rw] id # @return [::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 resource conflicts. # @!attribute [rw] display_name # @return [::String] # The display name of the repository. # @!attribute [rw] base_url # @return [::String] # Required. The location of the repository directory. # @!attribute [rw] gpg_keys # @return [::Array<::String>] # URIs of GPG keys. class YumRepository include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents a single zypper package repository. These are added to a # repo file that is managed at # `/etc/zypp/repos.d/google_osconfig.repo`. # @!attribute [rw] id # @return [::String] # 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. # @!attribute [rw] display_name # @return [::String] # The display name of the repository. # @!attribute [rw] base_url # @return [::String] # Required. The location of the repository directory. # @!attribute [rw] gpg_keys # @return [::Array<::String>] # URIs of GPG keys. class ZypperRepository include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents a Goo package repository. These are added to a repo file # that is managed at # `C:/ProgramData/GooGet/repos/google_osconfig.repo`. # @!attribute [rw] name # @return [::String] # Required. The name of the repository. # @!attribute [rw] url # @return [::String] # Required. The url of the repository. class GooRepository include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |