Class: Google::Apis::AlloydbV1beta::AuthorizedNetwork
- Inherits:
-
Object
- Object
- Google::Apis::AlloydbV1beta::AuthorizedNetwork
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/alloydb_v1beta/classes.rb,
lib/google/apis/alloydb_v1beta/representations.rb,
lib/google/apis/alloydb_v1beta/representations.rb
Overview
AuthorizedNetwork contains metadata for an authorized network.
Instance Attribute Summary collapse
-
#cidr_range ⇒ String
CIDR range for one authorzied network of the instance.
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.
34 35 36 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 34 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cidr_range ⇒ String
CIDR range for one authorzied network of the instance.
Corresponds to the JSON property cidrRange
32 33 34 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 32 def cidr_range @cidr_range end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
39 40 41 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 39 def update!(**args) @cidr_range = args[:cidr_range] if args.key?(:cidr_range) end |