Class: Google::Apis::ComposerV1::CheckUpgradeResponse

Inherits:
Object
  • Object
show all
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

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.



85
86
87
# File 'lib/google/apis/composer_v1/classes.rb', line 85

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)


61
62
63
# File 'lib/google/apis/composer_v1/classes.rb', line 61

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)


66
67
68
# File 'lib/google/apis/composer_v1/classes.rb', line 66

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)


71
72
73
# File 'lib/google/apis/composer_v1/classes.rb', line 71

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)


77
78
79
# File 'lib/google/apis/composer_v1/classes.rb', line 77

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


83
84
85
# File 'lib/google/apis/composer_v1/classes.rb', line 83

def pypi_dependencies
  @pypi_dependencies
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



90
91
92
93
94
95
96
# File 'lib/google/apis/composer_v1/classes.rb', line 90

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