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.



121
122
123
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 121

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)


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

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)


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

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)


107
108
109
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 107

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)


113
114
115
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 113

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>)


119
120
121
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 119

def pypi_dependencies
  @pypi_dependencies
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



126
127
128
129
130
131
132
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 126

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