class Google::Apis::FileV1beta1::NetworkConfig

Network configuration for the instance.

Attributes

connect_mode[RW]

The network connect mode of the Filestore instance. If not provided, the connect mode defaults to DIRECT_PEERING. Corresponds to the JSON property `connectMode` @return [String]

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]

Optional, reserved_ip_range can have one of the following two types of values.

  • CIDR range value when using DIRECT_PEERING connect mode. * [Allocated IP

address range](cloud.google.com/compute/docs/ip-addresses/reserve- static-internal-ip-address) when using PRIVATE_SERVICE_ACCESS connect mode. When the name of an allocated IP address range is specified, it must be one of the ranges associated with the private service access connection. When specified as a direct CIDR value, it must be a /29 CIDR block for Basic tier or a /24 CIDR block for High Scale or Enterprise tier 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/24. 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_v1beta1/classes.rb, line 1107
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_v1beta1/classes.rb, line 1112
def update!(**args)
  @connect_mode = args[:connect_mode] if args.key?(:connect_mode)
  @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