Class: Google::Apis::ServicenetworkingV1::Range

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

Overview

Represents a found unused range.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Range

Returns a new instance of Range.



4028
4029
4030
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 4028

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

Instance Attribute Details

#ip_cidr_rangeString

CIDR range in "10.x.x.x/y" format that is within the allocated ranges and currently unused. Corresponds to the JSON property ipCidrRange

Returns:

  • (String)


4020
4021
4022
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 4020

def ip_cidr_range
  @ip_cidr_range
end

#networkString

In the Shared VPC host project, the VPC network that's peered with the consumer network. For example: projects/1234321/global/networks/host-network Corresponds to the JSON property network

Returns:

  • (String)


4026
4027
4028
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 4026

def network
  @network
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4033
4034
4035
4036
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 4033

def update!(**args)
  @ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
  @network = args[:network] if args.key?(:network)
end