Class: Google::Apis::ComputeAlpha::InternalIpOwner

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ InternalIpOwner

Returns a new instance of InternalIpOwner



13106
13107
13108
# File 'generated/google/apis/compute_alpha/classes.rb', line 13106

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#ip_cidr_rangeString

IP CIDR range being owned. Corresponds to the JSON property ipCidrRange

Returns:

  • (String)


13093
13094
13095
# File 'generated/google/apis/compute_alpha/classes.rb', line 13093

def ip_cidr_range
  @ip_cidr_range
end

#ownersArray<String>

URLs of the IP owners of the IP CIDR range. Corresponds to the JSON property owners

Returns:

  • (Array<String>)


13098
13099
13100
# File 'generated/google/apis/compute_alpha/classes.rb', line 13098

def owners
  @owners
end

#system_ownedBoolean Also known as: system_owned?

Whether this IP CIDR range is reserved for system use. Corresponds to the JSON property systemOwned

Returns:

  • (Boolean)


13103
13104
13105
# File 'generated/google/apis/compute_alpha/classes.rb', line 13103

def system_owned
  @system_owned
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13111
13112
13113
13114
13115
# File 'generated/google/apis/compute_alpha/classes.rb', line 13111

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