Class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeStruct

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

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleBigtableAdminV2TypeStruct

Returns a new instance of GoogleBigtableAdminV2TypeStruct.



2104
2105
2106
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 2104

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

Instance Attribute Details

#fieldsArray<Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeStructField>

The names and types of the fields in this struct. Corresponds to the JSON property fields



2102
2103
2104
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 2102

def fields
  @fields
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2109
2110
2111
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 2109

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