Class: Google::Apis::ManagerV1beta2::DeployState

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/manager_v1beta2/classes.rb,
generated/google/apis/manager_v1beta2/representations.rb,
generated/google/apis/manager_v1beta2/representations.rb

Overview

[Output Only] The current state of a replica or module.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ DeployState

Returns a new instance of DeployState.



205
206
207
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 205

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

Instance Attribute Details

#detailsString

[Output Only] Human readable details about the current state. Corresponds to the JSON property details

Returns:

  • (String)


191
192
193
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 191

def details
  @details
end

#statusString

[Output Only] The status of the deployment. Possible values include:

  • UNKNOWN
  • DEPLOYING
  • DEPLOYED
  • DEPLOYMENT_FAILED
  • DELETING
  • DELETED
  • DELETE_FAILED Corresponds to the JSON property status

Returns:

  • (String)


203
204
205
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 203

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



210
211
212
213
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 210

def update!(**args)
  @details = args[:details] if args.key?(:details)
  @status = args[:status] if args.key?(:status)
end