Class: Google::Apis::MigrationcenterV1::PostgreSqlProperty

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

Overview

PostgreSql property.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PostgreSqlProperty

Returns a new instance of PostgreSqlProperty.



4311
4312
4313
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4311

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

Instance Attribute Details

#enabledBoolean Also known as: enabled?

Required. The property is enabled. Corresponds to the JSON property enabled

Returns:

  • (Boolean)


4298
4299
4300
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4298

def enabled
  @enabled
end

#numeric_valueFixnum

Required. The property numeric value. Corresponds to the JSON property numericValue

Returns:

  • (Fixnum)


4304
4305
4306
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4304

def numeric_value
  @numeric_value
end

#propertyString

Required. The property name. Corresponds to the JSON property property

Returns:

  • (String)


4309
4310
4311
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4309

def property
  @property
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4316
4317
4318
4319
4320
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4316

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