Google Cloud Orchestration Airflow V1 Client - Class ImageVersion (2.1.2)

Reference documentation and code samples for the Google Cloud Orchestration Airflow V1 Client class ImageVersion.

ImageVersion information

Generated from protobuf message google.cloud.orchestration.airflow.service.v1.ImageVersion

Namespace

Google \ Cloud \ Orchestration \ Airflow \ Service \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ image_version_id string

The string identifier of the ImageVersion, in the form: "composer-x.y.z-airflow-a.b.c"

↳ is_default bool

Whether this is the default ImageVersion used by Composer during environment creation if no input ImageVersion is specified.

↳ supported_python_versions array

supported python versions

↳ release_date Google\Type\Date

The date of the version release.

↳ creation_disabled bool

Whether it is impossible to create an environment with the image version.

↳ upgrade_disabled bool

Whether it is impossible to upgrade an environment running with the image version.

getImageVersionId

The string identifier of the ImageVersion, in the form: "composer-x.y.z-airflow-a.b.c"

Returns
Type Description
string

setImageVersionId

The string identifier of the ImageVersion, in the form: "composer-x.y.z-airflow-a.b.c"

Parameter
Name Description
var string
Returns
Type Description
$this

getIsDefault

Whether this is the default ImageVersion used by Composer during environment creation if no input ImageVersion is specified.

Returns
Type Description
bool

setIsDefault

Whether this is the default ImageVersion used by Composer during environment creation if no input ImageVersion is specified.

Parameter
Name Description
var bool
Returns
Type Description
$this

getSupportedPythonVersions

supported python versions

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSupportedPythonVersions

supported python versions

Parameter
Name Description
var string[]
Returns
Type Description
$this

getReleaseDate

The date of the version release.

Returns
Type Description
Google\Type\Date|null

hasReleaseDate

clearReleaseDate

setReleaseDate

The date of the version release.

Parameter
Name Description
var Google\Type\Date
Returns
Type Description
$this

getCreationDisabled

Whether it is impossible to create an environment with the image version.

Returns
Type Description
bool

setCreationDisabled

Whether it is impossible to create an environment with the image version.

Parameter
Name Description
var bool
Returns
Type Description
$this

getUpgradeDisabled

Whether it is impossible to upgrade an environment running with the image version.

Returns
Type Description
bool

setUpgradeDisabled

Whether it is impossible to upgrade an environment running with the image version.

Parameter
Name Description
var bool
Returns
Type Description
$this