Class: Google::Apis::SqladminV1::Value

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/sqladmin_v1/classes.rb,
lib/google/apis/sqladmin_v1/representations.rb,
lib/google/apis/sqladmin_v1/representations.rb

Overview

The cell value of the table.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Value

Returns a new instance of Value.



6571
6572
6573
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 6571

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

Instance Attribute Details

#null_valueBoolean Also known as: null_value?

If cell value is null, then this flag will be set to true. Corresponds to the JSON property nullValue

Returns:

  • (Boolean)


6563
6564
6565
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 6563

def null_value
  @null_value
end

#valueString

The cell value in string format. Corresponds to the JSON property value

Returns:

  • (String)


6569
6570
6571
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 6569

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6576
6577
6578
6579
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 6576

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