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.



1370
1371
1372
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1370

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

Instance Attribute Details

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

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

Returns:

  • (String)


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