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
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.
1604 1605 1606 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 1604 def initialize(**args) update!(**args) end |
Instance Attribute Details
#field ⇒ String
Field name.
Corresponds to the JSON property field
1602 1603 1604 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 1602 def field @field end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1609 1610 1611 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 1609 def update!(**args) @field = args[:field] if args.key?(:field) end |