Class: Google::Apis::ContentV2_1::InapplicabilityDetails
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::InapplicabilityDetails
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/content_v2_1/classes.rb,
generated/google/apis/content_v2_1/representations.rb,
generated/google/apis/content_v2_1/representations.rb
Overview
Map of inapplicability details.
Instance Attribute Summary collapse
-
#inapplicable_count ⇒ Fixnum
Count of this inapplicable reason code.
-
#inapplicable_reason ⇒ String
Reason code this rule was not applicable.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InapplicabilityDetails
constructor
A new instance of InapplicabilityDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InapplicabilityDetails
Returns a new instance of InapplicabilityDetails.
3011 3012 3013 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 3011 def initialize(**args) update!(**args) end |
Instance Attribute Details
#inapplicable_count ⇒ Fixnum
Count of this inapplicable reason code.
Corresponds to the JSON property inapplicableCount
3004 3005 3006 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 3004 def inapplicable_count @inapplicable_count end |
#inapplicable_reason ⇒ String
Reason code this rule was not applicable.
Corresponds to the JSON property inapplicableReason
3009 3010 3011 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 3009 def inapplicable_reason @inapplicable_reason end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3016 3017 3018 3019 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 3016 def update!(**args) @inapplicable_count = args[:inapplicable_count] if args.key?(:inapplicable_count) @inapplicable_reason = args[:inapplicable_reason] if args.key?(:inapplicable_reason) end |