Class: Google::Apis::WorkloadmanagerV1::SapDiscoveryComponentReplicationSite

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

A replication site used in Disaster Recovery (DR) configurations.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#componentGoogle::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_siteString

Optional. The name of the source site from which this one replicates. Corresponds to the JSON property sourceSite

Returns:

  • (String)


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