Class: Google::Apis::LanguageV1beta2::V2Model

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

Overview

Options for the V2 model.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ V2Model

Returns a new instance of V2Model.



931
932
933
# File 'lib/google/apis/language_v1beta2/classes.rb', line 931

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

Instance Attribute Details

#content_categories_versionString

The content categories used for classification. Corresponds to the JSON property contentCategoriesVersion

Returns:

  • (String)


929
930
931
# File 'lib/google/apis/language_v1beta2/classes.rb', line 929

def content_categories_version
  @content_categories_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



936
937
938
# File 'lib/google/apis/language_v1beta2/classes.rb', line 936

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