Class: Google::Apis::WorkloadmanagerV1::SapComponent

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 component of sap workload

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SapComponent

Returns a new instance of SapComponent.



1292
1293
1294
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1292

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

Instance Attribute Details

#ha_hostsArray<String>

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>)


1275
1276
1277
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1275

def ha_hosts
  @ha_hosts
end

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

Output only. resources in the component Corresponds to the JSON property resources



1280
1281
1282
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1280

def resources
  @resources
end

#sidString

Output only. sid is the sap component identificator Corresponds to the JSON property sid

Returns:

  • (String)


1285
1286
1287
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1285

def sid
  @sid
end

#topology_typeString

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

Returns:

  • (String)


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

def topology_type
  @topology_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

def update!(**args)
  @ha_hosts = args[:ha_hosts] if args.key?(:ha_hosts)
  @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