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.



6767
6768
6769
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 6767

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)


6759
6760
6761
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 6759

def null_value
  @null_value
end

#valueString

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

Returns:

  • (String)


6765
6766
6767
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 6765

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6772
6773
6774
6775
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 6772

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