Class: Google::Apis::LanguageV1beta2::XpsExampleSet
- Inherits:
-
Object
- Object
- Google::Apis::LanguageV1beta2::XpsExampleSet
- 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
Overview
Set of examples or input sources.
Instance Attribute Summary collapse
-
#file_spec ⇒ Google::Apis::LanguageV1beta2::XpsFileSpec
Spec of input and output files, on external file systems (for example, Colossus Namespace System or Google Cloud Storage).
-
#fingerprint ⇒ Fixnum
Fingerprint of the example set.
-
#num_examples ⇒ Fixnum
Number of examples.
-
#num_input_sources ⇒ Fixnum
Number of input sources.
Instance Method Summary collapse
-
#initialize(**args) ⇒ XpsExampleSet
constructor
A new instance of XpsExampleSet.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ XpsExampleSet
Returns a new instance of XpsExampleSet.
2366 2367 2368 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 2366 def initialize(**args) update!(**args) end |
Instance Attribute Details
#file_spec ⇒ Google::Apis::LanguageV1beta2::XpsFileSpec
Spec of input and output files, on external file systems (for example,
Colossus Namespace System or Google Cloud Storage).
Corresponds to the JSON property fileSpec
2349 2350 2351 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 2349 def file_spec @file_spec end |
#fingerprint ⇒ Fixnum
Fingerprint of the example set.
Corresponds to the JSON property fingerprint
2354 2355 2356 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 2354 def fingerprint @fingerprint end |
#num_examples ⇒ Fixnum
Number of examples.
Corresponds to the JSON property numExamples
2359 2360 2361 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 2359 def num_examples @num_examples end |
#num_input_sources ⇒ Fixnum
Number of input sources.
Corresponds to the JSON property numInputSources
2364 2365 2366 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 2364 def num_input_sources @num_input_sources end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2371 2372 2373 2374 2375 2376 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 2371 def update!(**args) @file_spec = args[:file_spec] if args.key?(:file_spec) @fingerprint = args[:fingerprint] if args.key?(:fingerprint) @num_examples = args[:num_examples] if args.key?(:num_examples) @num_input_sources = args[:num_input_sources] if args.key?(:num_input_sources) end |