Class: Google::Cloud::Batch::V1::AllocationPolicy::NetworkInterface

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

Overview

A network interface.

Instance Attribute Summary collapse

Instance Attribute Details

#network::String

Returns The URL of the network resource.

Returns:

  • (::String)

    The URL of the network resource.



423
424
425
426
# File 'proto_docs/google/cloud/batch/v1/job.rb', line 423

class NetworkInterface
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#no_external_ip_address::Boolean

Returns Default is false (with an external IP address). Required if no external public IP address is attached to the VM. If no external public IP address, additional configuration is required to allow the VM to access Google Services. See https://cloud.google.com/vpc/docs/configure-private-google-access and https://cloud.google.com/nat/docs/gce-example#create-nat for more information.

Returns:



423
424
425
426
# File 'proto_docs/google/cloud/batch/v1/job.rb', line 423

class NetworkInterface
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#subnetwork::String

Returns The URL of the Subnetwork resource.

Returns:

  • (::String)

    The URL of the Subnetwork resource.



423
424
425
426
# File 'proto_docs/google/cloud/batch/v1/job.rb', line 423

class NetworkInterface
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end