Class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeStringEncoding

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

Rules used to convert to/from lower level types.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleBigtableAdminV2TypeStringEncoding

Returns a new instance of GoogleBigtableAdminV2TypeStringEncoding.



2071
2072
2073
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 2071

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

Instance Attribute Details

#utf8_bytesGoogle::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeStringEncodingUtf8Bytes

UTF-8 encoding * Order-preserving? Yes (code point order) * Self-delimiting? No * Compatibility? - BigQuery Federation TEXT encoding - HBase Bytes. toBytes - Java String#getBytes(StandardCharsets.UTF_8) Corresponds to the JSON property utf8Bytes



2064
2065
2066
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 2064

def utf8_bytes
  @utf8_bytes
end

#utf8_rawGoogle::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeStringEncodingUtf8Raw

Deprecated: prefer the equivalent Utf8Bytes. Corresponds to the JSON property utf8Raw



2069
2070
2071
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 2069

def utf8_raw
  @utf8_raw
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2076
2077
2078
2079
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 2076

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