Class: Google::Apis::WorkloadmanagerV1::SqlserverValidation

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

Overview

A presentation of SQLServer workload insight. The schema of SqlServer workloads validation related data.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SqlserverValidation

Returns a new instance of SqlserverValidation.



1290
1291
1292
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1290

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

Instance Attribute Details

#agent_versionString

Optional. The agent version collected this data point Corresponds to the JSON property agentVersion

Returns:

  • (String)


1271
1272
1273
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1271

def agent_version
  @agent_version
end

#instanceString

Required. The instance_name of the instance that the Insight data comes from. According to https://linter.aip.dev/122/name-suffix: field names should not use the _name suffix unless the field would be ambiguous without it. Corresponds to the JSON property instance

Returns:

  • (String)


1278
1279
1280
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1278

def instance
  @instance
end

#project_idString

Required. The project_id of the cloud project that the Insight data comes from. Corresponds to the JSON property projectId

Returns:

  • (String)


1283
1284
1285
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1283

def project_id
  @project_id
end

#validation_detailsArray<Google::Apis::WorkloadmanagerV1::SqlserverValidationValidationDetail>

Optional. A list of SqlServer validation metrics data. Corresponds to the JSON property validationDetails



1288
1289
1290
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1288

def validation_details
  @validation_details
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1295
1296
1297
1298
1299
1300
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1295

def update!(**args)
  @agent_version = args[:agent_version] if args.key?(:agent_version)
  @instance = args[:instance] if args.key?(:instance)
  @project_id = args[:project_id] if args.key?(:project_id)
  @validation_details = args[:validation_details] if args.key?(:validation_details)
end