class Google::Apis::AppengineV1beta5::Network

Used to specify extra network settings (for VM runtimes only).

Attributes

forwarded_ports[RW]

A list of ports (or port pairs) to forward from the VM into the app container. Corresponds to the JSON property `forwardedPorts` @return [Array<String>]

instance_tag[RW]

A tag to apply to the VM instance during creation. Corresponds to the JSON property `instanceTag` @return [String]

name[RW]

The Google Compute Engine network where the VMs will be created. If not specified, or empty, the network named “default” will be used. (The short name should be specified, not the resource path.) Corresponds to the JSON property `name` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/appengine_v1beta5/classes.rb, line 825
def update!(**args)
  @forwarded_ports = args[:forwarded_ports] if args.key?(:forwarded_ports)
  @instance_tag = args[:instance_tag] if args.key?(:instance_tag)
  @name = args[:name] if args.key?(:name)
end