Class: Google::Apis::ServicenetworkingV1beta::Range

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

Overview

Represents a found unused range.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Range

Returns a new instance of Range.



2732
2733
2734
# File 'generated/google/apis/servicenetworking_v1beta/classes.rb', line 2732

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)


2723
2724
2725
# File 'generated/google/apis/servicenetworking_v1beta/classes.rb', line 2723

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)


2730
2731
2732
# File 'generated/google/apis/servicenetworking_v1beta/classes.rb', line 2730

def network
  @network
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2737
2738
2739
2740
# File 'generated/google/apis/servicenetworking_v1beta/classes.rb', line 2737

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