Class: Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1InvalidRule
- Inherits:
-
Object
- Object
- Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1InvalidRule
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/contentwarehouse_v1/classes.rb,
lib/google/apis/contentwarehouse_v1/representations.rb,
lib/google/apis/contentwarehouse_v1/representations.rb
Overview
A triggered rule that failed the validation check(s) after parsing.
Instance Attribute Summary collapse
-
#error ⇒ String
Validation error on a parsed expression.
-
#rule ⇒ Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1Rule
Represents the rule for a content warehouse trigger.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudContentwarehouseV1InvalidRule
constructor
A new instance of GoogleCloudContentwarehouseV1InvalidRule.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContentwarehouseV1InvalidRule
Returns a new instance of GoogleCloudContentwarehouseV1InvalidRule.
2196 2197 2198 |
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 2196 def initialize(**args) update!(**args) end |
Instance Attribute Details
#error ⇒ String
Validation error on a parsed expression.
Corresponds to the JSON property error
2189 2190 2191 |
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 2189 def error @error end |
#rule ⇒ Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1Rule
Represents the rule for a content warehouse trigger.
Corresponds to the JSON property rule
2194 2195 2196 |
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 2194 def rule @rule end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2201 2202 2203 2204 |
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 2201 def update!(**args) @error = args[:error] if args.key?(:error) @rule = args[:rule] if args.key?(:rule) end |