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.



2720
2721
2722
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 2720

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)


2709
2710
2711
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 2709

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



2718
2719
2720
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 2718

def modifications
  @modifications
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2725
2726
2727
2728
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 2725

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