Class: Google::Apis::ServicenetworkingV1beta::GoogleCloudServicenetworkingV1ConsumerConfigReservedRange

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

Allocated IP address ranges for this private service access connection.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudServicenetworkingV1ConsumerConfigReservedRange

Returns a new instance of GoogleCloudServicenetworkingV1ConsumerConfigReservedRange.



1398
1399
1400
# File 'generated/google/apis/servicenetworking_v1beta/classes.rb', line 1398

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

Instance Attribute Details

#addressString

The starting address of the reserved range. The address must be a valid IPv4 address in the x.x.x.x format. This value combined with the IP prefix length is the CIDR range for the reserved range. Corresponds to the JSON property address

Returns:

  • (String)


1386
1387
1388
# File 'generated/google/apis/servicenetworking_v1beta/classes.rb', line 1386

def address
  @address
end

#ip_prefix_lengthFixnum

The prefix length of the reserved range. Corresponds to the JSON property ipPrefixLength

Returns:

  • (Fixnum)


1391
1392
1393
# File 'generated/google/apis/servicenetworking_v1beta/classes.rb', line 1391

def ip_prefix_length
  @ip_prefix_length
end

#nameString

The name of the reserved range. Corresponds to the JSON property name

Returns:

  • (String)


1396
1397
1398
# File 'generated/google/apis/servicenetworking_v1beta/classes.rb', line 1396

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1403
1404
1405
1406
1407
# File 'generated/google/apis/servicenetworking_v1beta/classes.rb', line 1403

def update!(**args)
  @address = args[:address] if args.key?(:address)
  @ip_prefix_length = args[:ip_prefix_length] if args.key?(:ip_prefix_length)
  @name = args[:name] if args.key?(:name)
end