Class: Google::Apis::MigrationcenterV1::SqlServerServerFlag

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

SQL Server server flag details.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SqlServerServerFlag

Returns a new instance of SqlServerServerFlag.



5730
5731
5732
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 5730

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

Instance Attribute Details

#server_flag_nameString

Required. The server flag name. Corresponds to the JSON property serverFlagName

Returns:

  • (String)


5716
5717
5718
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 5716

def server_flag_name
  @server_flag_name
end

#valueString

Required. The server flag value set by the user. Corresponds to the JSON property value

Returns:

  • (String)


5721
5722
5723
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 5721

def value
  @value
end

#value_in_useString

Required. The server flag actual value. If value_in_use is different from value it means that either the configuration change was not applied or it is an expected behavior. See SQL Server documentation for more details. Corresponds to the JSON property valueInUse

Returns:

  • (String)


5728
5729
5730
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 5728

def value_in_use
  @value_in_use
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5735
5736
5737
5738
5739
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 5735

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