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.
2967 2968 2969 |
# File 'lib/google/apis/language_v2/classes.rb', line 2967 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
2960 2961 2962 |
# File 'lib/google/apis/language_v2/classes.rb', line 2960 def inputs @inputs end |
#outputs ⇒ Hash<String,Google::Apis::LanguageV2::XpsResponseExplanationMetadataOutputMetadata>
Metadata of the output.
Corresponds to the JSON property outputs
2965 2966 2967 |
# File 'lib/google/apis/language_v2/classes.rb', line 2965 def outputs @outputs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2972 2973 2974 2975 |
# File 'lib/google/apis/language_v2/classes.rb', line 2972 def update!(**args) @inputs = args[:inputs] if args.key?(:inputs) @outputs = args[:outputs] if args.key?(:outputs) end |