Google Cloud Container V1 Client - Class MaintenanceExclusionOptions (2.2.0)

Reference documentation and code samples for the Google Cloud Container V1 Client class MaintenanceExclusionOptions.

Represents the Maintenance exclusion option.

Generated from protobuf message google.container.v1.MaintenanceExclusionOptions

Namespace

Google \ Cloud \ Container \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ scope int

Scope specifies the upgrade scope which upgrades are blocked by the exclusion.

getScope

Scope specifies the upgrade scope which upgrades are blocked by the exclusion.

Returns
Type Description
int

setScope

Scope specifies the upgrade scope which upgrades are blocked by the exclusion.

Parameter
Name Description
var int
Returns
Type Description
$this