Google Cloud OsConfig V1 Client - Class APT (1.3.4)

Reference documentation and code samples for the Google Cloud OsConfig V1 Client class APT.

A package managed by APT.

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

Generated from protobuf message google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT

Namespace

Google \ Cloud \ OsConfig \ V1 \ OSPolicy \ Resource \ PackageResource

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. Package name.

getName

Required. Package name.

Returns
Type Description
string

setName

Required. Package name.

Parameter
Name Description
var string
Returns
Type Description
$this