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

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

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

setSupportedPythonVersions

supported python versions

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

getReleaseDate

The date of the version release.

Returns
Type
Description

hasReleaseDate

clearReleaseDate

setReleaseDate

The date of the version release.

Parameter
Name
Description
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
Create a Mobile Website
View Site in Mobile | Classic
Share by: