Class: Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1InvalidRule

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#errorString

Validation error on a parsed expression. Corresponds to the JSON property error

Returns:

  • (String)


2189
2190
2191
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 2189

def error
  @error
end

#ruleGoogle::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