Class: Google::Apis::MigrationcenterV1alpha1::SqlServerTraceFlag

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SqlServerTraceFlag

Returns a new instance of SqlServerTraceFlag.



6840
6841
6842
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6840

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

Instance Attribute Details

#scopeString

Required. The trace flag scope. Corresponds to the JSON property scope

Returns:

  • (String)


6833
6834
6835
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6833

def scope
  @scope
end

#trace_flag_nameString

Required. The trace flag name. Corresponds to the JSON property traceFlagName

Returns:

  • (String)


6838
6839
6840
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6838

def trace_flag_name
  @trace_flag_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6845
6846
6847
6848
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6845

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