Class: Google::Apis::WorkloadmanagerV1::SapDiscoveryComponent

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

Message describing the system component.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SapDiscoveryComponent

Returns a new instance of SapDiscoveryComponent.



1444
1445
1446
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1444

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

Instance Attribute Details

#application_propertiesGoogle::Apis::WorkloadmanagerV1::SapDiscoveryComponentApplicationProperties

A set of properties describing an SAP Application layer. Corresponds to the JSON property applicationProperties



1404
1405
1406
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1404

def application_properties
  @application_properties
end

#database_propertiesGoogle::Apis::WorkloadmanagerV1::SapDiscoveryComponentDatabaseProperties

A set of properties describing an SAP Database layer. Corresponds to the JSON property databaseProperties



1409
1410
1411
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1409

def database_properties
  @database_properties
end

#ha_hostsArray<String>

Optional. A list of host URIs that are part of the HA configuration if present. An empty list indicates the component is not configured for HA. Corresponds to the JSON property haHosts

Returns:

  • (Array<String>)


1415
1416
1417
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1415

def ha_hosts
  @ha_hosts
end

#host_projectString

Required. Pantheon Project in which the resources reside. Corresponds to the JSON property hostProject

Returns:

  • (String)


1420
1421
1422
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1420

def host_project
  @host_project
end

#replication_sitesArray<Google::Apis::WorkloadmanagerV1::SapDiscoveryComponent>

Optional. A list of replication sites used in Disaster Recovery (DR) configurations. Corresponds to the JSON property replicationSites



1426
1427
1428
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1426

def replication_sites
  @replication_sites
end

#resourcesArray<Google::Apis::WorkloadmanagerV1::SapDiscoveryResource>

Optional. The resources in a component. Corresponds to the JSON property resources



1431
1432
1433
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1431

def resources
  @resources
end

#sidString

Optional. The SAP identifier, used by the SAP software and helps differentiate systems for customers. Corresponds to the JSON property sid

Returns:

  • (String)


1437
1438
1439
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1437

def sid
  @sid
end

#topology_typeString

Optional. The detected topology of the component. Corresponds to the JSON property topologyType

Returns:

  • (String)


1442
1443
1444
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1442

def topology_type
  @topology_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1449

def update!(**args)
  @application_properties = args[:application_properties] if args.key?(:application_properties)
  @database_properties = args[:database_properties] if args.key?(:database_properties)
  @ha_hosts = args[:ha_hosts] if args.key?(:ha_hosts)
  @host_project = args[:host_project] if args.key?(:host_project)
  @replication_sites = args[:replication_sites] if args.key?(:replication_sites)
  @resources = args[:resources] if args.key?(:resources)
  @sid = args[:sid] if args.key?(:sid)
  @topology_type = args[:topology_type] if args.key?(:topology_type)
end