Google Cloud OsConfig V1 Client - Class YUM (2.0.0-RC1)

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

A package managed by YUM.

  • install: yum -y install package
  • remove: yum -y remove package

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

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