Class: Google::Apis::ComputeAlpha::InternalIpOwner
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::InternalIpOwner
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Instance Attribute Summary collapse
-
#ip_cidr_range ⇒ String
IP CIDR range being owned.
-
#owners ⇒ Array<String>
URLs of the IP owners of the IP CIDR range.
-
#system_owned ⇒ Boolean
(also: #system_owned?)
Whether this IP CIDR range is reserved for system use.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InternalIpOwner
constructor
A new instance of InternalIpOwner.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InternalIpOwner
Returns a new instance of InternalIpOwner.
22583 22584 22585 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 22583 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ip_cidr_range ⇒ String
IP CIDR range being owned.
Corresponds to the JSON property ipCidrRange
22570 22571 22572 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 22570 def ip_cidr_range @ip_cidr_range end |
#owners ⇒ Array<String>
URLs of the IP owners of the IP CIDR range.
Corresponds to the JSON property owners
22575 22576 22577 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 22575 def owners @owners end |
#system_owned ⇒ Boolean Also known as: system_owned?
Whether this IP CIDR range is reserved for system use.
Corresponds to the JSON property systemOwned
22580 22581 22582 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 22580 def system_owned @system_owned end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
22588 22589 22590 22591 22592 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 22588 def update!(**args) @ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range) @owners = args[:owners] if args.key?(:owners) @system_owned = args[:system_owned] if args.key?(:system_owned) end |