Class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeStringEncoding
- Inherits:
-
Object
- Object
- Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeStringEncoding
- 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 or from lower level types.
Instance Attribute Summary collapse
-
#utf8_bytes ⇒ Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeStringEncodingUtf8Bytes
UTF-8 encoding.
-
#utf8_raw ⇒ Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeStringEncodingUtf8Raw
Deprecated: prefer the equivalent
Utf8Bytes.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleBigtableAdminV2TypeStringEncoding
constructor
A new instance of GoogleBigtableAdminV2TypeStringEncoding.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleBigtableAdminV2TypeStringEncoding
Returns a new instance of GoogleBigtableAdminV2TypeStringEncoding.
2356 2357 2358 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 2356 def initialize(**args) update!(**args) end |
Instance Attribute Details
#utf8_bytes ⇒ Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeStringEncodingUtf8Bytes
UTF-8 encoding. Sorted mode: - All values are supported. - Code point order is
preserved. Distinct mode: all values are supported. Compatible with: -
BigQuery TEXT encoding - HBase Bytes.toBytes - Java String#getBytes(
StandardCharsets.UTF_8)
Corresponds to the JSON property utf8Bytes
2349 2350 2351 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 2349 def utf8_bytes @utf8_bytes end |
#utf8_raw ⇒ Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeStringEncodingUtf8Raw
Deprecated: prefer the equivalent Utf8Bytes.
Corresponds to the JSON property utf8Raw
2354 2355 2356 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 2354 def utf8_raw @utf8_raw end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2361 2362 2363 2364 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 2361 def update!(**args) @utf8_bytes = args[:utf8_bytes] if args.key?(:utf8_bytes) @utf8_raw = args[:utf8_raw] if args.key?(:utf8_raw) end |