Class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2AuthorizedViewSubsetView

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

Defines a simple AuthorizedView that is a subset of the underlying Table.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleBigtableAdminV2AuthorizedViewSubsetView

Returns a new instance of GoogleBigtableAdminV2AuthorizedViewSubsetView.



1599
1600
1601
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1599

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

Instance Attribute Details

#family_subsetsHash<String,Google::Apis::BigtableadminV2::GoogleBigtableAdminV2AuthorizedViewFamilySubsets>

Map from column family name to the columns in this family to be included in the AuthorizedView. Corresponds to the JSON property familySubsets



1591
1592
1593
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1591

def family_subsets
  @family_subsets
end

#row_prefixesArray<String>

Row prefixes to be included in the AuthorizedView. To provide access to all rows, include the empty string as a prefix (""). Corresponds to the JSON property rowPrefixes

Returns:

  • (Array<String>)


1597
1598
1599
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1597

def row_prefixes
  @row_prefixes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1604
1605
1606
1607
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1604

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