Class: Google::Apis::ComputeAlpha::PublicAdvertisedPrefixPublicDelegatedPrefix
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::PublicAdvertisedPrefixPublicDelegatedPrefix
- Defined in:
- generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/representations.rb
Overview
Represents a CIDR range which can be used to assign addresses.
Instance Attribute Summary collapse
-
#name ⇒ String
The name of the public delegated prefix Corresponds to the JSON property
name
. -
#region ⇒ String
The region of the public delegated prefix if it is regional.
-
#status ⇒ String
The status of the public delegated prefix.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PublicAdvertisedPrefixPublicDelegatedPrefix
constructor
A new instance of PublicAdvertisedPrefixPublicDelegatedPrefix.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ PublicAdvertisedPrefixPublicDelegatedPrefix
Returns a new instance of PublicAdvertisedPrefixPublicDelegatedPrefix
24388 24389 24390 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 24388 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
The name of the public delegated prefix
Corresponds to the JSON property name
24373 24374 24375 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 24373 def name @name end |
#region ⇒ String
The region of the public delegated prefix if it is regional. If absent, the
prefix is global.
Corresponds to the JSON property region
24379 24380 24381 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 24379 def region @region end |
#status ⇒ String
The status of the public delegated prefix. Possible values are: ACTIVE: The
public delegated prefix is active DRAINED: The public delegated prefix is
drained.
Corresponds to the JSON property status
24386 24387 24388 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 24386 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
24393 24394 24395 24396 24397 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 24393 def update!(**args) @name = args[:name] if args.key?(:name) @region = args[:region] if args.key?(:region) @status = args[:status] if args.key?(:status) end |