Google Cloud Container V1 Client - Class MaintenanceExclusionOptions (2.7.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.

↳ end_time_behavior int

EndTimeBehavior specifies the behavior of the exclusion end time.

getScope

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

Returns
Type Description
int Enum of type Scope.

setScope

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

Parameter
Name Description
var int

Enum of type Scope.

Returns
Type Description
$this

getEndTimeBehavior

EndTimeBehavior specifies the behavior of the exclusion end time.

Returns
Type Description
int Enum of type EndTimeBehavior.

setEndTimeBehavior

EndTimeBehavior specifies the behavior of the exclusion end time.

Parameter
Name Description
var int

Enum of type EndTimeBehavior.

Returns
Type Description
$this