Class: Google::Apis::ComposerV1::ImageVersion
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ComposerV1::ImageVersion
 
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/composer_v1/classes.rb,
 lib/google/apis/composer_v1/representations.rb,
 lib/google/apis/composer_v1/representations.rb
Overview
ImageVersion information
Instance Attribute Summary collapse
- 
  
    
      #creation_disabled  ⇒ Boolean 
    
    
      (also: #creation_disabled?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Whether it is impossible to create an environment with the image version. 
- 
  
    
      #image_version_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The string identifier of the ImageVersion, in the form: "composer-x.y.z- airflow-a.b.c" Corresponds to the JSON property imageVersionId.
- 
  
    
      #is_default  ⇒ Boolean 
    
    
      (also: #is_default?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Whether this is the default ImageVersion used by Composer during environment creation if no input ImageVersion is specified. 
- 
  
    
      #release_date  ⇒ Google::Apis::ComposerV1::Date 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Represents a whole or partial calendar date, such as a birthday. 
- 
  
    
      #supported_python_versions  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    supported python versions Corresponds to the JSON property supportedPythonVersions.
- 
  
    
      #upgrade_disabled  ⇒ Boolean 
    
    
      (also: #upgrade_disabled?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Whether it is impossible to upgrade an environment running with the image version. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ImageVersion 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ImageVersion. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Constructor Details
#initialize(**args) ⇒ ImageVersion
Returns a new instance of ImageVersion.
| 735 736 737 | # File 'lib/google/apis/composer_v1/classes.rb', line 735 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#creation_disabled ⇒ Boolean Also known as: creation_disabled?
Whether it is impossible to create an environment with the image version.
Corresponds to the JSON property creationDisabled
| 695 696 697 | # File 'lib/google/apis/composer_v1/classes.rb', line 695 def creation_disabled @creation_disabled end | 
#image_version_id ⇒ String
The string identifier of the ImageVersion, in the form: "composer-x.y.z-
airflow-a.b.c"
Corresponds to the JSON property imageVersionId
| 702 703 704 | # File 'lib/google/apis/composer_v1/classes.rb', line 702 def image_version_id @image_version_id end | 
#is_default ⇒ Boolean Also known as: is_default?
Whether this is the default ImageVersion used by Composer during environment
creation if no input ImageVersion is specified.
Corresponds to the JSON property isDefault
| 708 709 710 | # File 'lib/google/apis/composer_v1/classes.rb', line 708 def is_default @is_default end | 
#release_date ⇒ Google::Apis::ComposerV1::Date
Represents a whole or partial calendar date, such as a birthday. The time of
day and time zone are either specified elsewhere or are insignificant. The
date is relative to the Gregorian Calendar. This can represent one of the
following: * A full date, with non-zero year, month, and day values. * A month
and day, with a zero year (for example, an anniversary). * A year on its own,
with a zero month and a zero day. * A year and month, with a zero day (for
example, a credit card expiration date). Related types: * google.type.
TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
Corresponds to the JSON property releaseDate
| 721 722 723 | # File 'lib/google/apis/composer_v1/classes.rb', line 721 def release_date @release_date end | 
#supported_python_versions ⇒ Array<String>
supported python versions
Corresponds to the JSON property supportedPythonVersions
| 726 727 728 | # File 'lib/google/apis/composer_v1/classes.rb', line 726 def supported_python_versions @supported_python_versions end | 
#upgrade_disabled ⇒ Boolean Also known as: upgrade_disabled?
Whether it is impossible to upgrade an environment running with the image
version.
Corresponds to the JSON property upgradeDisabled
| 732 733 734 | # File 'lib/google/apis/composer_v1/classes.rb', line 732 def upgrade_disabled @upgrade_disabled end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 740 741 742 743 744 745 746 747 | # File 'lib/google/apis/composer_v1/classes.rb', line 740 def update!(**args) @creation_disabled = args[:creation_disabled] if args.key?(:creation_disabled) @image_version_id = args[:image_version_id] if args.key?(:image_version_id) @is_default = args[:is_default] if args.key?(:is_default) @release_date = args[:release_date] if args.key?(:release_date) @supported_python_versions = args[:supported_python_versions] if args.key?(:supported_python_versions) @upgrade_disabled = args[:upgrade_disabled] if args.key?(:upgrade_disabled) end |