Class: Google::Apis::LanguageV2::XpsResponseExplanationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::LanguageV2::XpsResponseExplanationMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/language_v2/classes.rb,
lib/google/apis/language_v2/representations.rb,
lib/google/apis/language_v2/representations.rb
Instance Attribute Summary collapse
-
#inputs ⇒ Hash<String,Google::Apis::LanguageV2::XpsResponseExplanationMetadataInputMetadata>
Metadata of the input.
-
#outputs ⇒ Hash<String,Google::Apis::LanguageV2::XpsResponseExplanationMetadataOutputMetadata>
Metadata of the output.
Instance Method Summary collapse
-
#initialize(**args) ⇒ XpsResponseExplanationMetadata
constructor
A new instance of XpsResponseExplanationMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ XpsResponseExplanationMetadata
Returns a new instance of XpsResponseExplanationMetadata.
2981 2982 2983 |
# File 'lib/google/apis/language_v2/classes.rb', line 2981 def initialize(**args) update!(**args) end |
Instance Attribute Details
#inputs ⇒ Hash<String,Google::Apis::LanguageV2::XpsResponseExplanationMetadataInputMetadata>
Metadata of the input.
Corresponds to the JSON property inputs
2974 2975 2976 |
# File 'lib/google/apis/language_v2/classes.rb', line 2974 def inputs @inputs end |
#outputs ⇒ Hash<String,Google::Apis::LanguageV2::XpsResponseExplanationMetadataOutputMetadata>
Metadata of the output.
Corresponds to the JSON property outputs
2979 2980 2981 |
# File 'lib/google/apis/language_v2/classes.rb', line 2979 def outputs @outputs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2986 2987 2988 2989 |
# File 'lib/google/apis/language_v2/classes.rb', line 2986 def update!(**args) @inputs = args[:inputs] if args.key?(:inputs) @outputs = args[:outputs] if args.key?(:outputs) end |