class Google::Apis::ServicenetworkingV1::SearchRangeRequest

Request to search for an unused range within allocated ranges.

Attributes

ip_prefix_length[RW]

Required. The prefix length of the IP range. Use usual CIDR range notation. For example, '30' to find unused x.x.x.x/30 CIDR range. Actual range will be determined using allocated range for the consumer peered network and returned in the result. Corresponds to the JSON property `ipPrefixLength` @return [Fixnum]

network[RW]

Network name in the consumer project. This network must have been already peered with a shared VPC network using CreateConnection method. Must be in a form 'projects/`project`/global/networks/`network`'. `project` is a project number, as in '12345' `network` is network name. Corresponds to the JSON property `network` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/servicenetworking_v1/classes.rb, line 3385
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/servicenetworking_v1/classes.rb, line 3390
def update!(**args)
  @ip_prefix_length = args[:ip_prefix_length] if args.key?(:ip_prefix_length)
  @network = args[:network] if args.key?(:network)
end