class Google::Apis::ComputeV1::PublicDelegatedPrefixPublicDelegatedSubPrefix

Represents a sub PublicDelegatedPrefix.

Attributes

delegatee_project[RW]

Name of the project scoping this PublicDelegatedSubPrefix. Corresponds to the JSON property `delegateeProject` @return [String]

description[RW]

An optional description of this resource. Provide this property when you create the resource. Corresponds to the JSON property `description` @return [String]

ip_cidr_range[RW]

The IPv4 address range, in CIDR format, represented by this sub public delegated prefix. Corresponds to the JSON property `ipCidrRange` @return [String]

is_address[RW]

Whether the sub prefix is delegated to create Address resources in the delegatee project. Corresponds to the JSON property `isAddress` @return [Boolean]

is_address?[RW]

Whether the sub prefix is delegated to create Address resources in the delegatee project. Corresponds to the JSON property `isAddress` @return [Boolean]

name[RW]

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

region[RW]
Output Only

The region of the sub public delegated prefix if it is regional.

If absent, the sub prefix is global. Corresponds to the JSON property `region` @return [String]

status[RW]
Output Only

The status of the sub public delegated prefix.

Corresponds to the JSON property `status` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 24194
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_v1/classes.rb, line 24199
def update!(**args)
  @delegatee_project = args[:delegatee_project] if args.key?(:delegatee_project)
  @description = args[:description] if args.key?(:description)
  @ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
  @is_address = args[:is_address] if args.key?(:is_address)
  @name = args[:name] if args.key?(:name)
  @region = args[:region] if args.key?(:region)
  @status = args[:status] if args.key?(:status)
end