Class: Google::Apis::WorkloadmanagerV1::SqlserverValidation
- Inherits:
-
Object
- Object
- Google::Apis::WorkloadmanagerV1::SqlserverValidation
- 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
-
#agent_version ⇒ String
Optional.
-
#instance ⇒ String
Required.
-
#project_id ⇒ String
Required.
-
#validation_details ⇒ Array<Google::Apis::WorkloadmanagerV1::SqlserverValidationValidationDetail>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SqlserverValidation
constructor
A new instance of SqlserverValidation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SqlserverValidation
Returns a new instance of SqlserverValidation.
1855 1856 1857 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1855 def initialize(**args) update!(**args) end |
Instance Attribute Details
#agent_version ⇒ String
Optional. The agent version collected this data point
Corresponds to the JSON property agentVersion
1836 1837 1838 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1836 def agent_version @agent_version end |
#instance ⇒ String
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
1843 1844 1845 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1843 def instance @instance end |
#project_id ⇒ String
Required. The project_id of the cloud project that the Insight data comes from.
Corresponds to the JSON property projectId
1848 1849 1850 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1848 def project_id @project_id end |
#validation_details ⇒ Array<Google::Apis::WorkloadmanagerV1::SqlserverValidationValidationDetail>
Optional. A list of SqlServer validation metrics data.
Corresponds to the JSON property validationDetails
1853 1854 1855 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1853 def validation_details @validation_details end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1860 1861 1862 1863 1864 1865 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1860 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 |