class Google::Apis::ComputeBeta::PublicAdvertisedPrefixPublicDelegatedPrefix

Represents a CIDR range which can be used to assign addresses.

Attributes

ip_range[RW]

The IP address range of the public delegated prefix Corresponds to the JSON property `ipRange` @return [String]

name[RW]

The name of the public delegated prefix Corresponds to the JSON property `name` @return [String]

project[RW]

The project number of the public delegated prefix Corresponds to the JSON property `project` @return [String]

region[RW]

The region of the public delegated prefix if it is regional. If absent, the prefix is global. Corresponds to the JSON property `region` @return [String]

status[RW]

The status of the public delegated prefix. Possible values are: INITIALIZING: The public delegated prefix is being initialized and addresses cannot be created yet. ANNOUNCED: The public delegated prefix is active. Corresponds to the JSON property `status` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_beta/classes.rb, line 25275
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_beta/classes.rb, line 25280
def update!(**args)
  @ip_range = args[:ip_range] if args.key?(:ip_range)
  @name = args[:name] if args.key?(:name)
  @project = args[:project] if args.key?(:project)
  @region = args[:region] if args.key?(:region)
  @status = args[:status] if args.key?(:status)
end