Class: Google::Apis::BigtableadminV2::ModifyColumnFamiliesRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/bigtableadmin_v2/classes.rb,
lib/google/apis/bigtableadmin_v2/representations.rb,
lib/google/apis/bigtableadmin_v2/representations.rb

Overview

Request message for google.bigtable.admin.v2.BigtableTableAdmin. ModifyColumnFamilies

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ModifyColumnFamiliesRequest

Returns a new instance of ModifyColumnFamiliesRequest.



2700
2701
2702
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 2700

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

Instance Attribute Details

#ignore_warningsBoolean Also known as: ignore_warnings?

Optional. If true, ignore safety checks when modifying the column families. Corresponds to the JSON property ignoreWarnings

Returns:

  • (Boolean)


2689
2690
2691
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 2689

def ignore_warnings
  @ignore_warnings
end

#modificationsArray<Google::Apis::BigtableadminV2::Modification>

Required. Modifications to be atomically applied to the specified table's families. Entries are applied in order, meaning that earlier modifications can be masked by later ones (in the case of repeated updates to the same family, for example). Corresponds to the JSON property modifications



2698
2699
2700
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 2698

def modifications
  @modifications
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2705
2706
2707
2708
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 2705

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