Class: Google::Apis::LanguageV2::XpsResponseExplanationMetadata

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

Instance Method Summary collapse

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

#inputsHash<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

#outputsHash<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