Class: Google::Apis::ChecksV1alpha::GoogleChecksAisafetyV1alphaClassifyContentResponse
- Inherits:
-
Object
- Object
- Google::Apis::ChecksV1alpha::GoogleChecksAisafetyV1alphaClassifyContentResponse
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/checks_v1alpha/classes.rb,
lib/google/apis/checks_v1alpha/representations.rb,
lib/google/apis/checks_v1alpha/representations.rb
Overview
Response proto for ClassifyContent RPC.
Instance Attribute Summary collapse
-
#policy_results ⇒ Array<Google::Apis::ChecksV1alpha::GoogleChecksAisafetyV1alphaClassifyContentResponsePolicyResult>
Results of the classification for each policy.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChecksAisafetyV1alphaClassifyContentResponse
constructor
A new instance of GoogleChecksAisafetyV1alphaClassifyContentResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChecksAisafetyV1alphaClassifyContentResponse
Returns a new instance of GoogleChecksAisafetyV1alphaClassifyContentResponse.
217 218 219 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 217 def initialize(**args) update!(**args) end |
Instance Attribute Details
#policy_results ⇒ Array<Google::Apis::ChecksV1alpha::GoogleChecksAisafetyV1alphaClassifyContentResponsePolicyResult>
Results of the classification for each policy.
Corresponds to the JSON property policyResults
215 216 217 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 215 def policy_results @policy_results end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
222 223 224 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 222 def update!(**args) @policy_results = args[:policy_results] if args.key?(:policy_results) end |