Class: Google::Apis::LanguageV1::XpsResponseExplanationMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/language_v1/classes.rb,
lib/google/apis/language_v1/representations.rb,
lib/google/apis/language_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ XpsResponseExplanationMetadata

Returns a new instance of XpsResponseExplanationMetadata.



3267
3268
3269
# File 'lib/google/apis/language_v1/classes.rb', line 3267

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#inputsHash<String,Google::Apis::LanguageV1::XpsResponseExplanationMetadataInputMetadata>

Metadata of the input. Corresponds to the JSON property inputs



3260
3261
3262
# File 'lib/google/apis/language_v1/classes.rb', line 3260

def inputs
  @inputs
end

#outputsHash<String,Google::Apis::LanguageV1::XpsResponseExplanationMetadataOutputMetadata>

Metadata of the output. Corresponds to the JSON property outputs



3265
3266
3267
# File 'lib/google/apis/language_v1/classes.rb', line 3265

def outputs
  @outputs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3272
3273
3274
3275
# File 'lib/google/apis/language_v1/classes.rb', line 3272

def update!(**args)
  @inputs = args[:inputs] if args.key?(:inputs)
  @outputs = args[:outputs] if args.key?(:outputs)
end