Google Cloud Orchestration Airflow V1 Client - Class ImageVersion (1.4.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
NameDescription
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
TypeDescription
string

setImageVersionId

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getIsDefault

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

Returns
TypeDescription
bool

setIsDefault

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

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getSupportedPythonVersions

supported python versions

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setSupportedPythonVersions

supported python versions

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getReleaseDate

The date of the version release.

Returns
TypeDescription
Google\Type\Date|null

hasReleaseDate

clearReleaseDate

setReleaseDate

The date of the version release.

Parameter
NameDescription
var Google\Type\Date
Returns
TypeDescription
$this

getCreationDisabled

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

Returns
TypeDescription
bool

setCreationDisabled

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

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getUpgradeDisabled

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

Returns
TypeDescription
bool

setUpgradeDisabled

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

Parameter
NameDescription
var bool
Returns
TypeDescription
$this