Class: Google::Cloud::AppEngine::V1::Network
- Inherits:
-
Object
- Object
- Google::Cloud::AppEngine::V1::Network
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/appengine/v1/version.rb
Overview
Extra network settings. Only applicable in the App Engine flexible environment.
Instance Attribute Summary collapse
-
#forwarded_ports ⇒ ::Array<::String>
List of ports, or port pairs, to forward from the virtual machine to the application container.
-
#instance_tag ⇒ ::String
Tag to apply to the instance during creation.
-
#name ⇒ ::String
Google Compute Engine network where the virtual machines are created.
-
#session_affinity ⇒ ::Boolean
Enable session affinity.
-
#subnetwork_name ⇒ ::String
Google Cloud Platform sub-network where the virtual machines are created.
Instance Attribute Details
#forwarded_ports ⇒ ::Array<::String>
Returns List of ports, or port pairs, to forward from the virtual machine to the application container. Only applicable in the App Engine flexible environment.
516 517 518 519 |
# File 'proto_docs/google/appengine/v1/version.rb', line 516 class Network include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#instance_tag ⇒ ::String
Returns Tag to apply to the instance during creation. Only applicable in the App Engine flexible environment.
516 517 518 519 |
# File 'proto_docs/google/appengine/v1/version.rb', line 516 class Network include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String
Returns Google Compute Engine network where the virtual machines are created. Specify the short name, not the resource path.
Defaults to default
.
516 517 518 519 |
# File 'proto_docs/google/appengine/v1/version.rb', line 516 class Network include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#session_affinity ⇒ ::Boolean
Returns Enable session affinity. Only applicable in the App Engine flexible environment.
516 517 518 519 |
# File 'proto_docs/google/appengine/v1/version.rb', line 516 class Network include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#subnetwork_name ⇒ ::String
Returns Google Cloud Platform sub-network where the virtual machines are created. Specify the short name, not the resource path.
If a subnetwork name is specified, a network name will also be required unless it is for the default network.
- If the network that the instance is being created in is a Legacy network, then the IP address is allocated from the IPv4Range.
- If the network that the instance is being created in is an auto Subnet Mode Network, then only network name should be specified (not the subnetwork_name) and the IP address is created from the IPCidrRange of the subnetwork that exists in that zone for that network.
- If the network that the instance is being created in is a custom Subnet Mode Network, then the subnetwork_name must be specified and the IP address is created from the IPCidrRange of the subnetwork.
If specified, the subnetwork must exist in the same region as the App Engine flexible environment application.
516 517 518 519 |
# File 'proto_docs/google/appengine/v1/version.rb', line 516 class Network include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |