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.



1224
1225
1226
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1224

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



1179
1180
1181
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1179

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



1184
1185
1186
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1184

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


1190
1191
1192
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1190

def ha_hosts
  @ha_hosts
end

#host_projectString

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

Returns:

  • (String)


1195
1196
1197
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1195

def host_project
  @host_project
end

#regionString

Optional. The region this component's resources are primarily located in. Corresponds to the JSON property region

Returns:

  • (String)


1200
1201
1202
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1200

def region
  @region
end

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

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



1206
1207
1208
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1206

def replication_sites
  @replication_sites
end

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

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



1211
1212
1213
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1211

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)


1217
1218
1219
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1217

def sid
  @sid
end

#topology_typeString

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

Returns:

  • (String)


1222
1223
1224
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1222

def topology_type
  @topology_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1229

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)
  @region = args[:region] if args.key?(:region)
  @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