Cloud OS Config V1 API - Class Google::Cloud::OsConfig::V1::OSPolicy::Resource::RepositoryResource::ZypperRepository (v1.1.0)

Reference documentation and code samples for the Cloud OS Config V1 API class Google::Cloud::OsConfig::V1::OSPolicy::Resource::RepositoryResource::ZypperRepository.

Represents a single zypper package repository. These are added to a repo file that is managed at /etc/zypp/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 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.

#id=

def id=(value) -> ::String
Parameter
  • value (::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.
Returns
  • (::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.