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.



2981
2982
2983
# File 'lib/google/apis/language_v2/classes.rb', line 2981

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



2974
2975
2976
# File 'lib/google/apis/language_v2/classes.rb', line 2974

def inputs
  @inputs
end

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