Class: Google::Apis::DatamigrationV1::AuthorizedNetwork
- Inherits:
-
Object
- Object
- Google::Apis::DatamigrationV1::AuthorizedNetwork
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datamigration_v1/classes.rb,
lib/google/apis/datamigration_v1/representations.rb,
lib/google/apis/datamigration_v1/representations.rb
Overview
AuthorizedNetwork contains metadata for an authorized network.
Instance Attribute Summary collapse
-
#cidr_range ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AuthorizedNetwork
constructor
A new instance of AuthorizedNetwork.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AuthorizedNetwork
Returns a new instance of AuthorizedNetwork.
298 299 300 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 298 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cidr_range ⇒ String
Optional. CIDR range for one authorzied network of the instance.
Corresponds to the JSON property cidrRange
296 297 298 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 296 def cidr_range @cidr_range end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
303 304 305 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 303 def update!(**args) @cidr_range = args[:cidr_range] if args.key?(:cidr_range) end |