Class: Google::Apis::DeploymentmanagerV2beta2::ResourceUpdate
- Inherits:
-
Object
- Object
- Google::Apis::DeploymentmanagerV2beta2::ResourceUpdate
- Includes:
- Core::Hashable
- Defined in:
- generated/google/apis/deploymentmanager_v2beta2/classes.rb,
generated/google/apis/deploymentmanager_v2beta2/representations.rb,
generated/google/apis/deploymentmanager_v2beta2/representations.rb
Instance Attribute Summary collapse
-
#errors ⇒ Array<String>
[Output Only] List of all errors encountered while trying to enact update.
-
#final_properties ⇒ String
[Output Only] The expanded properties of the resource with reference values expanded.
-
#intent ⇒ String
[Output Only] The intent of the resource: PREVIEW, UPDATE, or CANCEL.
-
#manifest ⇒ String
[Output Only] URL of the manifest representing the update configuration of this resource.
-
#properties ⇒ String
[Output Only] The set of updated properties for this resource, before references are expanded.
-
#state ⇒ String
[Output Only] The state of the resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ResourceUpdate
constructor
A new instance of ResourceUpdate.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ResourceUpdate
Returns a new instance of ResourceUpdate.
712 713 714 |
# File 'generated/google/apis/deploymentmanager_v2beta2/classes.rb', line 712 def initialize(**args) update!(**args) end |
Instance Attribute Details
#errors ⇒ Array<String>
[Output Only] List of all errors encountered while trying to enact update.
intent.
Corresponds to the JSON property errors
682 683 684 |
# File 'generated/google/apis/deploymentmanager_v2beta2/classes.rb', line 682 def errors @errors end |
#final_properties ⇒ String
[Output Only] The expanded properties of the resource with reference values
expanded. Returned as serialized YAML.
Corresponds to the JSON property finalProperties
688 689 690 |
# File 'generated/google/apis/deploymentmanager_v2beta2/classes.rb', line 688 def final_properties @final_properties end |
#intent ⇒ String
[Output Only] The intent of the resource: PREVIEW, UPDATE, or CANCEL.
Corresponds to the JSON property intent
693 694 695 |
# File 'generated/google/apis/deploymentmanager_v2beta2/classes.rb', line 693 def intent @intent end |
#manifest ⇒ String
[Output Only] URL of the manifest representing the update configuration of
this resource.
Corresponds to the JSON property manifest
699 700 701 |
# File 'generated/google/apis/deploymentmanager_v2beta2/classes.rb', line 699 def manifest @manifest end |
#properties ⇒ String
[Output Only] The set of updated properties for this resource, before
references are expanded. Returned as serialized YAML.
Corresponds to the JSON property properties
705 706 707 |
# File 'generated/google/apis/deploymentmanager_v2beta2/classes.rb', line 705 def properties @properties end |
#state ⇒ String
[Output Only] The state of the resource.
Corresponds to the JSON property state
710 711 712 |
# File 'generated/google/apis/deploymentmanager_v2beta2/classes.rb', line 710 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
717 718 719 720 721 722 723 724 |
# File 'generated/google/apis/deploymentmanager_v2beta2/classes.rb', line 717 def update!(**args) @errors = args[:errors] unless args[:errors].nil? @final_properties = args[:final_properties] unless args[:final_properties].nil? @intent = args[:intent] unless args[:intent].nil? @manifest = args[:manifest] unless args[:manifest].nil? @properties = args[:properties] unless args[:properties].nil? @state = args[:state] unless args[:state].nil? end |