Cloud OS Config V1 API - Class Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::APT (v0.14.0)

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

A package managed by APT.

  • install: apt-get update && apt-get -y install [name]
  • remove: apt-get -y remove [name]

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#name

def name() -> ::String
Returns
  • (::String) — Required. Package name.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. Package name.
Returns
  • (::String) — Required. Package name.