Class: Google::Apis::ClouddeployV1::ReleaseCondition

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

Overview

ReleaseCondition contains all conditions relevant to a Release.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReleaseCondition

Returns a new instance of ReleaseCondition.



4317
4318
4319
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4317

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

Instance Attribute Details

#docker_version_supported_conditionGoogle::Apis::ClouddeployV1::ToolVersionSupportedCondition

ToolVersionSupportedCondition contains information about when support for the release's version of a Tool ends. Corresponds to the JSON property dockerVersionSupportedCondition



4273
4274
4275
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4273

def docker_version_supported_condition
  @docker_version_supported_condition
end

#helm_version_supported_conditionGoogle::Apis::ClouddeployV1::ToolVersionSupportedCondition

ToolVersionSupportedCondition contains information about when support for the release's version of a Tool ends. Corresponds to the JSON property helmVersionSupportedCondition



4279
4280
4281
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4279

def helm_version_supported_condition
  @helm_version_supported_condition
end

#kpt_version_supported_conditionGoogle::Apis::ClouddeployV1::ToolVersionSupportedCondition

ToolVersionSupportedCondition contains information about when support for the release's version of a Tool ends. Corresponds to the JSON property kptVersionSupportedCondition



4285
4286
4287
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4285

def kpt_version_supported_condition
  @kpt_version_supported_condition
end

#kubectl_version_supported_conditionGoogle::Apis::ClouddeployV1::ToolVersionSupportedCondition

ToolVersionSupportedCondition contains information about when support for the release's version of a Tool ends. Corresponds to the JSON property kubectlVersionSupportedCondition



4291
4292
4293
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4291

def kubectl_version_supported_condition
  @kubectl_version_supported_condition
end

#kustomize_version_supported_conditionGoogle::Apis::ClouddeployV1::ToolVersionSupportedCondition

ToolVersionSupportedCondition contains information about when support for the release's version of a Tool ends. Corresponds to the JSON property kustomizeVersionSupportedCondition



4297
4298
4299
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4297

def kustomize_version_supported_condition
  @kustomize_version_supported_condition
end

#release_ready_conditionGoogle::Apis::ClouddeployV1::ReleaseReadyCondition

ReleaseReadyCondition contains information around the status of the Release. If a release is not ready, you cannot create a rollout with the release. Corresponds to the JSON property releaseReadyCondition



4303
4304
4305
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4303

def release_ready_condition
  @release_ready_condition
end

#skaffold_supported_conditionGoogle::Apis::ClouddeployV1::SkaffoldSupportedCondition

SkaffoldSupportedCondition contains information about when support for the release's version of Skaffold ends. Corresponds to the JSON property skaffoldSupportedCondition



4309
4310
4311
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4309

def skaffold_supported_condition
  @skaffold_supported_condition
end

#skaffold_version_supported_conditionGoogle::Apis::ClouddeployV1::ToolVersionSupportedCondition

ToolVersionSupportedCondition contains information about when support for the release's version of a Tool ends. Corresponds to the JSON property skaffoldVersionSupportedCondition



4315
4316
4317
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4315

def skaffold_version_supported_condition
  @skaffold_version_supported_condition
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4322

def update!(**args)
  @docker_version_supported_condition = args[:docker_version_supported_condition] if args.key?(:docker_version_supported_condition)
  @helm_version_supported_condition = args[:helm_version_supported_condition] if args.key?(:helm_version_supported_condition)
  @kpt_version_supported_condition = args[:kpt_version_supported_condition] if args.key?(:kpt_version_supported_condition)
  @kubectl_version_supported_condition = args[:kubectl_version_supported_condition] if args.key?(:kubectl_version_supported_condition)
  @kustomize_version_supported_condition = args[:kustomize_version_supported_condition] if args.key?(:kustomize_version_supported_condition)
  @release_ready_condition = args[:release_ready_condition] if args.key?(:release_ready_condition)
  @skaffold_supported_condition = args[:skaffold_supported_condition] if args.key?(:skaffold_supported_condition)
  @skaffold_version_supported_condition = args[:skaffold_version_supported_condition] if args.key?(:skaffold_version_supported_condition)
end