Class: Google::Apis::BigtableadminV2::Modification
- Inherits:
-
Object
- Object
- Google::Apis::BigtableadminV2::Modification
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/bigtableadmin_v2/classes.rb,
generated/google/apis/bigtableadmin_v2/representations.rb,
generated/google/apis/bigtableadmin_v2/representations.rb
Overview
A create, update, or delete of a particular column family.
Instance Attribute Summary collapse
-
#create ⇒ Google::Apis::BigtableadminV2::ColumnFamily
A set of columns within a table which share a common configuration.
-
#drop ⇒ Boolean
(also: #drop?)
Drop (delete) the column family with the given ID, or fail if no such family exists.
-
#id ⇒ String
The ID of the column family to be modified.
-
#update ⇒ Google::Apis::BigtableadminV2::ColumnFamily
A set of columns within a table which share a common configuration.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Modification
constructor
A new instance of Modification.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Modification
Returns a new instance of Modification.
1367 1368 1369 |
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 1367 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create ⇒ Google::Apis::BigtableadminV2::ColumnFamily
A set of columns within a table which share a common configuration.
Corresponds to the JSON property create
1348 1349 1350 |
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 1348 def create @create end |
#drop ⇒ Boolean Also known as: drop?
Drop (delete) the column family with the given ID, or fail if no such
family exists.
Corresponds to the JSON property drop
1354 1355 1356 |
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 1354 def drop @drop end |
#id ⇒ String
The ID of the column family to be modified.
Corresponds to the JSON property id
1360 1361 1362 |
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 1360 def id @id end |
#update ⇒ Google::Apis::BigtableadminV2::ColumnFamily
A set of columns within a table which share a common configuration.
Corresponds to the JSON property update
1365 1366 1367 |
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 1365 def update @update end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1372 1373 1374 1375 1376 1377 |
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 1372 def update!(**args) @create = args[:create] if args.key?(:create) @drop = args[:drop] if args.key?(:drop) @id = args[:id] if args.key?(:id) @update = args[:update] if args.key?(:update) end |