Class: Google::Apis::MigrationcenterV1alpha1::SqlServerServerFlag
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::SqlServerServerFlag
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/migrationcenter_v1alpha1/classes.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb
Overview
SQL Server server flag details.
Instance Attribute Summary collapse
-
#server_flag_name ⇒ String
Required.
-
#value ⇒ String
Required.
-
#value_in_use ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SqlServerServerFlag
constructor
A new instance of SqlServerServerFlag.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SqlServerServerFlag
Returns a new instance of SqlServerServerFlag.
6814 6815 6816 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6814 def initialize(**args) update!(**args) end |
Instance Attribute Details
#server_flag_name ⇒ String
Required. The server flag name.
Corresponds to the JSON property serverFlagName
6800 6801 6802 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6800 def server_flag_name @server_flag_name end |
#value ⇒ String
Required. The server flag value set by the user.
Corresponds to the JSON property value
6805 6806 6807 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6805 def value @value end |
#value_in_use ⇒ String
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
6812 6813 6814 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6812 def value_in_use @value_in_use end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6819 6820 6821 6822 6823 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6819 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 |