Class: Google::Apis::WorkloadmanagerV1::SapDiscoveryComponentReplicationSite
- Inherits:
-
Object
- Object
- Google::Apis::WorkloadmanagerV1::SapDiscoveryComponentReplicationSite
- 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 replication site used in Disaster Recovery (DR) configurations.
Instance Attribute Summary collapse
-
#component ⇒ Google::Apis::WorkloadmanagerV1::SapDiscoveryComponent
Message describing the system component.
-
#source_site ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SapDiscoveryComponentReplicationSite
constructor
A new instance of SapDiscoveryComponentReplicationSite.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SapDiscoveryComponentReplicationSite
Returns a new instance of SapDiscoveryComponentReplicationSite.
1370 1371 1372 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1370 def initialize(**args) update!(**args) end |
Instance Attribute Details
#component ⇒ Google::Apis::WorkloadmanagerV1::SapDiscoveryComponent
Message describing the system component.
Corresponds to the JSON property component
1363 1364 1365 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1363 def component @component end |
#source_site ⇒ String
Optional. The name of the source site from which this one replicates.
Corresponds to the JSON property sourceSite
1368 1369 1370 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1368 def source_site @source_site end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1375 1376 1377 1378 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1375 def update!(**args) @component = args[:component] if args.key?(:component) @source_site = args[:source_site] if args.key?(:source_site) end |