class Google::Apis::FileV1::NetworkConfig

Network configuration for the instance.

Attributes

ip_addresses[RW]

Output only. IPv4 addresses in the format “octet1`.`octet2`.`octet3`.`octet4“ or IPv6 addresses in the format “block1`:`block2`:`block3`:`block4`:`block5`: `block6`:`block7`:`block8“. Corresponds to the JSON property `ipAddresses` @return [Array<String>]

modes[RW]

Internet protocol versions for which the instance has IP addresses assigned. For this version, only MODE_IPV4 is supported. Corresponds to the JSON property `modes` @return [Array<String>]

network[RW]

The name of the Google Compute Engine [VPC network](cloud.google.com/ vpc/docs/vpc) to which the instance is connected. Corresponds to the JSON property `network` @return [String]

reserved_ip_range[RW]

A /29 CIDR block in one of the [internal IP address ranges](www.arin. net/reference/research/statistics/address_filters/) that identifies the range of IP addresses reserved for this instance. For example, 10.0.0.0/29 or 192. 168.0.0/29. The range you specify can't overlap with either existing subnets or assigned IP address ranges for other Cloud Filestore instances in the selected VPC network. Corresponds to the JSON property `reservedIpRange` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/file_v1/classes.rb, line 1061
def update!(**args)
  @ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
  @modes = args[:modes] if args.key?(:modes)
  @network = args[:network] if args.key?(:network)
  @reserved_ip_range = args[:reserved_ip_range] if args.key?(:reserved_ip_range)
end