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

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
Name Description
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
Type Description
Google\Cloud\OsConfig\V1\OSPolicy\Resource\File|null

hasSource

clearSource

setSource

Required. The MSI package.

Parameter
Name Description
var Google\Cloud\OsConfig\V1\OSPolicy\Resource\File
Returns
Type Description
$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
Type Description
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
Name Description
var string[]
Returns
Type Description
$this