Class: Google::Apis::WorkloadmanagerV1::SapDiscovery

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

The schema of SAP system discovery data.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SapDiscovery

Returns a new instance of SapDiscovery.



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

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

Instance Attribute Details

#application_layerGoogle::Apis::WorkloadmanagerV1::SapDiscoveryComponent

Message describing the system component. Corresponds to the JSON property applicationLayer



1256
1257
1258
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1256

def application_layer
  @application_layer
end

#database_layerGoogle::Apis::WorkloadmanagerV1::SapDiscoveryComponent

Message describing the system component. Corresponds to the JSON property databaseLayer



1261
1262
1263
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1261

def database_layer
  @database_layer
end

#metadataGoogle::Apis::WorkloadmanagerV1::SapDiscoveryMetadata

Message describing SAP discovery system metadata Corresponds to the JSON property metadata



1266
1267
1268
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1266

def 
  @metadata
end

#project_numberString

Optional. The GCP project number that this SapSystem belongs to. Corresponds to the JSON property projectNumber

Returns:

  • (String)


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

def project_number
  @project_number
end

#system_idString

Output only. A combination of database SID, database instance URI and tenant DB name to make a unique identifier per-system. Corresponds to the JSON property systemId

Returns:

  • (String)


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

def system_id
  @system_id
end

#update_timeString

Required. Unix timestamp this system has been updated last. Corresponds to the JSON property updateTime

Returns:

  • (String)


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

def update_time
  @update_time
end

#workload_propertiesGoogle::Apis::WorkloadmanagerV1::SapDiscoveryWorkloadProperties

A set of properties describing an SAP workload. Corresponds to the JSON property workloadProperties



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

def workload_properties
  @workload_properties
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

def update!(**args)
  @application_layer = args[:application_layer] if args.key?(:application_layer)
  @database_layer = args[:database_layer] if args.key?(:database_layer)
  @metadata = args[:metadata] if args.key?(:metadata)
  @project_number = args[:project_number] if args.key?(:project_number)
  @system_id = args[:system_id] if args.key?(:system_id)
  @update_time = args[:update_time] if args.key?(:update_time)
  @workload_properties = args[:workload_properties] if args.key?(:workload_properties)
end