Class: Google::Apis::BackupdrV1::NetworkConfig
- Inherits:
-
Object
- Object
- Google::Apis::BackupdrV1::NetworkConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/backupdr_v1/classes.rb,
lib/google/apis/backupdr_v1/representations.rb,
lib/google/apis/backupdr_v1/representations.rb
Overview
Network configuration for ManagementServer instance.
Instance Attribute Summary collapse
-
#network ⇒ String
Optional.
-
#peering_mode ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NetworkConfig
constructor
A new instance of NetworkConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NetworkConfig
Returns a new instance of NetworkConfig.
2903 2904 2905 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 2903 def initialize(**args) update!(**args) end |
Instance Attribute Details
#network ⇒ String
Optional. The resource name of the Google Compute Engine VPC network to which
the ManagementServer instance is connected.
Corresponds to the JSON property network
2895 2896 2897 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 2895 def network @network end |
#peering_mode ⇒ String
Optional. The network connect mode of the ManagementServer instance. For this
version, only PRIVATE_SERVICE_ACCESS is supported.
Corresponds to the JSON property peeringMode
2901 2902 2903 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 2901 def peering_mode @peering_mode end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2908 2909 2910 2911 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 2908 def update!(**args) @network = args[:network] if args.key?(:network) @peering_mode = args[:peering_mode] if args.key?(:peering_mode) end |