Class: Google::Apis::ContentV2_1::InapplicabilityDetails

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

Instance Method Summary collapse

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_countFixnum

Count of this inapplicable reason code. Corresponds to the JSON property inapplicableCount

Returns:

  • (Fixnum)


3004
3005
3006
# File 'generated/google/apis/content_v2_1/classes.rb', line 3004

def inapplicable_count
  @inapplicable_count
end

#inapplicable_reasonString

Reason code this rule was not applicable. Corresponds to the JSON property inapplicableReason

Returns:

  • (String)


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