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.



2121
2122
2123
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 2121

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



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