Class: Google::Apis::ComposerV1beta1::CheckUpgradeResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/composer_v1beta1/classes.rb,
lib/google/apis/composer_v1beta1/representations.rb,
lib/google/apis/composer_v1beta1/representations.rb

Overview

Message containing information about the result of an upgrade check operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CheckUpgradeResponse

Returns a new instance of CheckUpgradeResponse.



117
118
119
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 117

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#build_log_uriString

Output only. Url for a docker build log of an upgraded image. Corresponds to the JSON property buildLogUri

Returns:

  • (String)


93
94
95
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 93

def build_log_uri
  @build_log_uri
end

#contains_pypi_modules_conflictString

Output only. Whether build has succeeded or failed on modules conflicts. Corresponds to the JSON property containsPypiModulesConflict

Returns:

  • (String)


98
99
100
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 98

def contains_pypi_modules_conflict
  @contains_pypi_modules_conflict
end

#image_versionString

Composer image for which the build was happening. Corresponds to the JSON property imageVersion

Returns:

  • (String)


103
104
105
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 103

def image_version
  @image_version
end

#pypi_conflict_build_log_extractString

Output only. Extract from a docker image build log containing information about pypi modules conflicts. Corresponds to the JSON property pypiConflictBuildLogExtract

Returns:

  • (String)


109
110
111
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 109

def pypi_conflict_build_log_extract
  @pypi_conflict_build_log_extract
end

#pypi_dependenciesHash<String,String>

Pypi dependencies specified in the environment configuration, at the time when the build was triggered. Corresponds to the JSON property pypiDependencies

Returns:

  • (Hash<String,String>)


115
116
117
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 115

def pypi_dependencies
  @pypi_dependencies
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



122
123
124
125
126
127
128
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 122

def update!(**args)
  @build_log_uri = args[:build_log_uri] if args.key?(:build_log_uri)
  @contains_pypi_modules_conflict = args[:contains_pypi_modules_conflict] if args.key?(:contains_pypi_modules_conflict)
  @image_version = args[:image_version] if args.key?(:image_version)
  @pypi_conflict_build_log_extract = args[:pypi_conflict_build_log_extract] if args.key?(:pypi_conflict_build_log_extract)
  @pypi_dependencies = args[:pypi_dependencies] if args.key?(:pypi_dependencies)
end