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.



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

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)


2686
2687
2688
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 2686

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



2695
2696
2697
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 2695

def modifications
  @modifications
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2702
2703
2704
2705
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 2702

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