Class: Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::RepositoryResource::AptRepository

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/osconfig/v1alpha/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

Instance Attribute Details

#archive_type::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::RepositoryResource::AptRepository::ArchiveType

Returns Required. Type of archive files in this repository.

Returns:



346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
# File 'proto_docs/google/cloud/osconfig/v1alpha/os_policy.rb', line 346

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.

Returns:

  • (::Array<::String>)

    Required. List of components for this repository. Must contain at least one item.



346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
# File 'proto_docs/google/cloud/osconfig/v1alpha/os_policy.rb', line 346

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.

Returns:

  • (::String)

    Required. Distribution of this repository.



346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
# File 'proto_docs/google/cloud/osconfig/v1alpha/os_policy.rb', line 346

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.

Returns:

  • (::String)

    URI of the key file for this repository. The agent maintains a keyring at /etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg.



346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
# File 'proto_docs/google/cloud/osconfig/v1alpha/os_policy.rb', line 346

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.

Returns:

  • (::String)

    Required. URI for this repository.



346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
# File 'proto_docs/google/cloud/osconfig/v1alpha/os_policy.rb', line 346

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