Google Cloud Container V1 Client - Class MaintenanceExclusionOptions (1.9.1)

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

Methods

__construct

Constructor.

Parameters
NameDescription
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.

Generated from protobuf field .google.container.v1.MaintenanceExclusionOptions.Scope scope = 1;

Returns
TypeDescription
int

setScope

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

Generated from protobuf field .google.container.v1.MaintenanceExclusionOptions.Scope scope = 1;

Parameter
NameDescription
var int
Returns
TypeDescription
$this