Class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeStruct
- Inherits:
-
Object
- Object
- Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeStruct
- 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
A structured data value, consisting of fields which map to dynamically typed
values. Values of type Struct
are stored in Value.array_value
where
entries are in the same order and number as field_types
.
Instance Attribute Summary collapse
-
#fields ⇒ Array<Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeStructField>
The names and types of the fields in this struct.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleBigtableAdminV2TypeStruct
constructor
A new instance of GoogleBigtableAdminV2TypeStruct.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleBigtableAdminV2TypeStruct
Returns a new instance of GoogleBigtableAdminV2TypeStruct.
2121 2122 2123 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 2121 def initialize(**args) update!(**args) end |
Instance Attribute Details
#fields ⇒ Array<Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeStructField>
The names and types of the fields in this struct.
Corresponds to the JSON property fields
2119 2120 2121 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 2119 def fields @fields end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2126 2127 2128 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 2126 def update!(**args) @fields = args[:fields] if args.key?(:fields) end |