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.
2982 2983 2984 |
# File 'lib/google/apis/language_v2/classes.rb', line 2982 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
2975 2976 2977 |
# File 'lib/google/apis/language_v2/classes.rb', line 2975 def inputs @inputs end |
#outputs ⇒ Hash<String,Google::Apis::LanguageV2::XpsResponseExplanationMetadataOutputMetadata>
Metadata of the output.
Corresponds to the JSON property outputs
2980 2981 2982 |
# File 'lib/google/apis/language_v2/classes.rb', line 2980 def outputs @outputs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2987 2988 2989 2990 |
# File 'lib/google/apis/language_v2/classes.rb', line 2987 def update!(**args) @inputs = args[:inputs] if args.key?(:inputs) @outputs = args[:outputs] if args.key?(:outputs) end |