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.
2848 2849 2850 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 2848 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
2841 2842 2843 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 2841 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
2846 2847 2848 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 2846 def source_site @source_site end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2853 2854 2855 2856 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 2853 def update!(**args) @component = args[:component] if args.key?(:component) @source_site = args[:source_site] if args.key?(:source_site) end |