Class: Google::Cloud::Filestore::V1::NetworkConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/filestore/v1/cloud_filestore_service.rb

Overview

Network configuration for the instance.

Defined Under Namespace

Modules: AddressMode, ConnectMode

Instance Attribute Summary collapse

Instance Attribute Details

#connect_mode::Google::Cloud::Filestore::V1::NetworkConfig::ConnectMode

Returns The network connect mode of the Filestore instance. If not provided, the connect mode defaults to DIRECT_PEERING.

Returns:



64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# File 'proto_docs/google/cloud/filestore/v1/cloud_filestore_service.rb', line 64

class NetworkConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Internet protocol versions supported by Filestore.
  module AddressMode
    # Internet protocol not set.
    ADDRESS_MODE_UNSPECIFIED = 0

    # Use the IPv4 internet protocol.
    MODE_IPV4 = 1
  end

  # Available connection modes.
  module ConnectMode
    # Not set.
    CONNECT_MODE_UNSPECIFIED = 0

    # Connect via direct peering to the Filestore service.
    DIRECT_PEERING = 1

    # Connect to your Filestore instance using Private Service
    # Access. Private services access provides an IP address range for multiple
    # Google Cloud services, including Filestore.
    PRIVATE_SERVICE_ACCESS = 2
  end
end

#ip_addresses::Array<::String> (readonly)

Returns 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}.

Returns:

  • (::Array<::String>)

    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}.



64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# File 'proto_docs/google/cloud/filestore/v1/cloud_filestore_service.rb', line 64

class NetworkConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Internet protocol versions supported by Filestore.
  module AddressMode
    # Internet protocol not set.
    ADDRESS_MODE_UNSPECIFIED = 0

    # Use the IPv4 internet protocol.
    MODE_IPV4 = 1
  end

  # Available connection modes.
  module ConnectMode
    # Not set.
    CONNECT_MODE_UNSPECIFIED = 0

    # Connect via direct peering to the Filestore service.
    DIRECT_PEERING = 1

    # Connect to your Filestore instance using Private Service
    # Access. Private services access provides an IP address range for multiple
    # Google Cloud services, including Filestore.
    PRIVATE_SERVICE_ACCESS = 2
  end
end

#modes::Array<::Google::Cloud::Filestore::V1::NetworkConfig::AddressMode>

Returns Internet protocol versions for which the instance has IP addresses assigned. For this version, only MODE_IPV4 is supported.

Returns:



64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# File 'proto_docs/google/cloud/filestore/v1/cloud_filestore_service.rb', line 64

class NetworkConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Internet protocol versions supported by Filestore.
  module AddressMode
    # Internet protocol not set.
    ADDRESS_MODE_UNSPECIFIED = 0

    # Use the IPv4 internet protocol.
    MODE_IPV4 = 1
  end

  # Available connection modes.
  module ConnectMode
    # Not set.
    CONNECT_MODE_UNSPECIFIED = 0

    # Connect via direct peering to the Filestore service.
    DIRECT_PEERING = 1

    # Connect to your Filestore instance using Private Service
    # Access. Private services access provides an IP address range for multiple
    # Google Cloud services, including Filestore.
    PRIVATE_SERVICE_ACCESS = 2
  end
end

#network::String

Returns The name of the Google Compute Engine VPC network to which the instance is connected.

Returns:

  • (::String)

    The name of the Google Compute Engine VPC network to which the instance is connected.



64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# File 'proto_docs/google/cloud/filestore/v1/cloud_filestore_service.rb', line 64

class NetworkConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Internet protocol versions supported by Filestore.
  module AddressMode
    # Internet protocol not set.
    ADDRESS_MODE_UNSPECIFIED = 0

    # Use the IPv4 internet protocol.
    MODE_IPV4 = 1
  end

  # Available connection modes.
  module ConnectMode
    # Not set.
    CONNECT_MODE_UNSPECIFIED = 0

    # Connect via direct peering to the Filestore service.
    DIRECT_PEERING = 1

    # Connect to your Filestore instance using Private Service
    # Access. Private services access provides an IP address range for multiple
    # Google Cloud services, including Filestore.
    PRIVATE_SERVICE_ACCESS = 2
  end
end

#reserved_ip_range::String

Returns 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 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, a /24 CIDR block for High Scale tier, or a /26 CIDR block for Enterprise tier in one of the internal IP address ranges that identifies the range of IP addresses reserved for this instance. For example, 10.0.0.0/29, 192.168.0.0/24 or 192.168.0.0/26, respectively. The range you specify can't overlap with either existing subnets or assigned IP address ranges for other Filestore instances in the selected VPC network.

Returns:

  • (::String)

    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 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, a /24 CIDR block for High Scale tier, or a /26 CIDR block for Enterprise tier in one of the internal IP address ranges that identifies the range of IP addresses reserved for this instance. For example, 10.0.0.0/29, 192.168.0.0/24 or 192.168.0.0/26, respectively. The range you specify can't overlap with either existing subnets or assigned IP address ranges for other Filestore instances in the selected VPC network.



64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# File 'proto_docs/google/cloud/filestore/v1/cloud_filestore_service.rb', line 64

class NetworkConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Internet protocol versions supported by Filestore.
  module AddressMode
    # Internet protocol not set.
    ADDRESS_MODE_UNSPECIFIED = 0

    # Use the IPv4 internet protocol.
    MODE_IPV4 = 1
  end

  # Available connection modes.
  module ConnectMode
    # Not set.
    CONNECT_MODE_UNSPECIFIED = 0

    # Connect via direct peering to the Filestore service.
    DIRECT_PEERING = 1

    # Connect to your Filestore instance using Private Service
    # Access. Private services access provides an IP address range for multiple
    # Google Cloud services, including Filestore.
    PRIVATE_SERVICE_ACCESS = 2
  end
end