Class: Google::Apis::LanguageV1beta2::XpsStructType
- Inherits:
-
Object
- Object
- Google::Apis::LanguageV1beta2::XpsStructType
- 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
StructType
defines the DataType-s of a STRUCT type.
Instance Attribute Summary collapse
-
#fields ⇒ Hash<String,Google::Apis::LanguageV1beta2::XpsDataType>
Unordered map of struct field names to their data types.
Instance Method Summary collapse
-
#initialize(**args) ⇒ XpsStructType
constructor
A new instance of XpsStructType.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ XpsStructType
Returns a new instance of XpsStructType.
3793 3794 3795 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3793 def initialize(**args) update!(**args) end |
Instance Attribute Details
#fields ⇒ Hash<String,Google::Apis::LanguageV1beta2::XpsDataType>
Unordered map of struct field names to their data types.
Corresponds to the JSON property fields
3791 3792 3793 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3791 def fields @fields end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3798 3799 3800 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3798 def update!(**args) @fields = args[:fields] if args.key?(:fields) end |