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.
24609 24610 24611 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 24609 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
The name of the public delegated prefix
Corresponds to the JSON property name
24594 24595 24596 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 24594 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
24600 24601 24602 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 24600 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
24607 24608 24609 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 24607 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
24614 24615 24616 24617 24618 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 24614 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 |