Class: Google::Apis::DatastreamV1::MongodbField
- Inherits:
-
Object
- Object
- Google::Apis::DatastreamV1::MongodbField
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datastream_v1/classes.rb,
lib/google/apis/datastream_v1/representations.rb,
lib/google/apis/datastream_v1/representations.rb
Overview
MongoDB Field.
Instance Attribute Summary collapse
-
#field ⇒ String
The field name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MongodbField
constructor
A new instance of MongodbField.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MongodbField
Returns a new instance of MongodbField.
1854 1855 1856 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 1854 def initialize(**args) update!(**args) end |
Instance Attribute Details
#field ⇒ String
The field name.
Corresponds to the JSON property field
1852 1853 1854 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 1852 def field @field end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1859 1860 1861 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 1859 def update!(**args) @field = args[:field] if args.key?(:field) end |