Class: Google::Apis::ConfigV1::PropertyDrift
- Inherits:
-
Object
- Object
- Google::Apis::ConfigV1::PropertyDrift
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/config_v1/classes.rb,
lib/google/apis/config_v1/representations.rb,
lib/google/apis/config_v1/representations.rb
Overview
A property drift represents a drift to a property in the state file.
Instance Attribute Summary collapse
-
#after ⇒ Object
Output only.
-
#after_sensitive_paths ⇒ Array<String>
Output only.
-
#before ⇒ Object
Output only.
-
#before_sensitive_paths ⇒ Array<String>
Output only.
-
#path ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PropertyDrift
constructor
A new instance of PropertyDrift.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PropertyDrift
Returns a new instance of PropertyDrift.
2116 2117 2118 |
# File 'lib/google/apis/config_v1/classes.rb', line 2116 def initialize(**args) update!(**args) end |
Instance Attribute Details
#after ⇒ Object
Output only. Representations of the object value after the actions.
Corresponds to the JSON property after
2092 2093 2094 |
# File 'lib/google/apis/config_v1/classes.rb', line 2092 def after @after end |
#after_sensitive_paths ⇒ Array<String>
Output only. The paths of sensitive fields in after. Paths are relative to
path.
Corresponds to the JSON property afterSensitivePaths
2098 2099 2100 |
# File 'lib/google/apis/config_v1/classes.rb', line 2098 def after_sensitive_paths @after_sensitive_paths end |
#before ⇒ Object
Output only. Representations of the object value before the actions.
Corresponds to the JSON property before
2103 2104 2105 |
# File 'lib/google/apis/config_v1/classes.rb', line 2103 def before @before end |
#before_sensitive_paths ⇒ Array<String>
Output only. The paths of sensitive fields in before. Paths are relative to
path.
Corresponds to the JSON property beforeSensitivePaths
2109 2110 2111 |
# File 'lib/google/apis/config_v1/classes.rb', line 2109 def before_sensitive_paths @before_sensitive_paths end |
#path ⇒ String
Output only. The path of the property drift.
Corresponds to the JSON property path
2114 2115 2116 |
# File 'lib/google/apis/config_v1/classes.rb', line 2114 def path @path end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2121 2122 2123 2124 2125 2126 2127 |
# File 'lib/google/apis/config_v1/classes.rb', line 2121 def update!(**args) @after = args[:after] if args.key?(:after) @after_sensitive_paths = args[:after_sensitive_paths] if args.key?(:after_sensitive_paths) @before = args[:before] if args.key?(:before) @before_sensitive_paths = args[:before_sensitive_paths] if args.key?(:before_sensitive_paths) @path = args[:path] if args.key?(:path) end |