Google Cloud OsConfig V1 Client - Class Zypper (1.0.5)

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

A package managed by Zypper.

  • install: zypper -y install package
  • remove: zypper -y rm package

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. Package name.

getName

Required. Package name.

Returns
TypeDescription
string

setName

Required. Package name.

Parameter
NameDescription
var string
Returns
TypeDescription
$this