Google Cloud OsConfig V1 Client - Class MSI (1.2.2)

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

An MSI package. MSI packages only support INSTALLED state.

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

Namespace

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ source Google\Cloud\OsConfig\V1\OSPolicy\Resource\File

Required. The MSI package.

↳ properties array

Additional properties to use during installation. This should be in the format of Property=Setting. Appended to the defaults of ACTION=INSTALL REBOOT=ReallySuppress.

getSource

Required. The MSI package.

Returns
TypeDescription
Google\Cloud\OsConfig\V1\OSPolicy\Resource\File|null

hasSource

clearSource

setSource

Required. The MSI package.

Parameter
NameDescription
var Google\Cloud\OsConfig\V1\OSPolicy\Resource\File
Returns
TypeDescription
$this

getProperties

Additional properties to use during installation.

This should be in the format of Property=Setting. Appended to the defaults of ACTION=INSTALL REBOOT=ReallySuppress.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setProperties

Additional properties to use during installation.

This should be in the format of Property=Setting. Appended to the defaults of ACTION=INSTALL REBOOT=ReallySuppress.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this