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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InternalIpOwner

Returns a new instance of InternalIpOwner.



20961
20962
20963
# File 'lib/google/apis/compute_alpha/classes.rb', line 20961

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)


20948
20949
20950
# File 'lib/google/apis/compute_alpha/classes.rb', line 20948

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>)


20953
20954
20955
# File 'lib/google/apis/compute_alpha/classes.rb', line 20953

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)


20958
20959
20960
# File 'lib/google/apis/compute_alpha/classes.rb', line 20958

def system_owned
  @system_owned
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20966
20967
20968
20969
20970
# File 'lib/google/apis/compute_alpha/classes.rb', line 20966

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