Google Cloud OsConfig V1 Client - Class YUM (1.1.1)

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
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