Class: Google::Apis::MigrationcenterV1alpha1::SqlServerTraceFlag
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::SqlServerTraceFlag
- 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 trace flag details.
Instance Attribute Summary collapse
-
#scope ⇒ String
Required.
-
#trace_flag_name ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SqlServerTraceFlag
constructor
A new instance of SqlServerTraceFlag.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SqlServerTraceFlag
Returns a new instance of SqlServerTraceFlag.
6818 6819 6820 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6818 def initialize(**args) update!(**args) end |
Instance Attribute Details
#scope ⇒ String
Required. The trace flag scope.
Corresponds to the JSON property scope
6811 6812 6813 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6811 def scope @scope end |
#trace_flag_name ⇒ String
Required. The trace flag name.
Corresponds to the JSON property traceFlagName
6816 6817 6818 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6816 def trace_flag_name @trace_flag_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6823 6824 6825 6826 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6823 def update!(**args) @scope = args[:scope] if args.key?(:scope) @trace_flag_name = args[:trace_flag_name] if args.key?(:trace_flag_name) end |