Class: Google::Apis::LanguageV1beta2::XpsResponseExplanationMetadata

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ XpsResponseExplanationMetadata

Returns a new instance of XpsResponseExplanationMetadata.



3287
3288
3289
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3287

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

Instance Attribute Details

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

Metadata of the input. Corresponds to the JSON property inputs



3280
3281
3282
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3280

def inputs
  @inputs
end

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

Metadata of the output. Corresponds to the JSON property outputs



3285
3286
3287
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3285

def outputs
  @outputs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3292
3293
3294
3295
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3292

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