Class: Google::Apis::Area120tablesV1alpha1::CreateRowRequest
- Inherits:
-
Object
- Object
- Google::Apis::Area120tablesV1alpha1::CreateRowRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/area120tables_v1alpha1/classes.rb,
generated/google/apis/area120tables_v1alpha1/representations.rb,
generated/google/apis/area120tables_v1alpha1/representations.rb
Overview
Request message for TablesService.CreateRow.
Instance Attribute Summary collapse
-
#parent ⇒ String
Required.
-
#row ⇒ Google::Apis::Area120tablesV1alpha1::Row
A single row in a table.
-
#view ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreateRowRequest
constructor
A new instance of CreateRowRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CreateRowRequest
Returns a new instance of CreateRowRequest.
180 181 182 |
# File 'generated/google/apis/area120tables_v1alpha1/classes.rb', line 180 def initialize(**args) update!(**args) end |
Instance Attribute Details
#parent ⇒ String
Required. The parent table where this row will be created. Format: tables/
table
Corresponds to the JSON property parent
167 168 169 |
# File 'generated/google/apis/area120tables_v1alpha1/classes.rb', line 167 def parent @parent end |
#row ⇒ Google::Apis::Area120tablesV1alpha1::Row
A single row in a table.
Corresponds to the JSON property row
172 173 174 |
# File 'generated/google/apis/area120tables_v1alpha1/classes.rb', line 172 def row @row end |
#view ⇒ String
Optional. Column key to use for values in the row. Defaults to user entered
name.
Corresponds to the JSON property view
178 179 180 |
# File 'generated/google/apis/area120tables_v1alpha1/classes.rb', line 178 def view @view end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
185 186 187 188 189 |
# File 'generated/google/apis/area120tables_v1alpha1/classes.rb', line 185 def update!(**args) @parent = args[:parent] if args.key?(:parent) @row = args[:row] if args.key?(:row) @view = args[:view] if args.key?(:view) end |