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.



3282
3283
3284
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3282

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



3275
3276
3277
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3275

def inputs
  @inputs
end

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

Metadata of the output. Corresponds to the JSON property outputs



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

def outputs
  @outputs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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