Reference documentation and code samples for the Batch V1 API class Google::Cloud::Batch::V1::AllocationPolicy::NetworkPolicy.
NetworkPolicy describes VM instance network configurations.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#network_interfaces
def network_interfaces() -> ::Array<::Google::Cloud::Batch::V1::AllocationPolicy::NetworkInterface>
Returns
- (::Array<::Google::Cloud::Batch::V1::AllocationPolicy::NetworkInterface>) — Network configurations.
#network_interfaces=
def network_interfaces=(value) -> ::Array<::Google::Cloud::Batch::V1::AllocationPolicy::NetworkInterface>
Parameter
- value (::Array<::Google::Cloud::Batch::V1::AllocationPolicy::NetworkInterface>) — Network configurations.
Returns
- (::Array<::Google::Cloud::Batch::V1::AllocationPolicy::NetworkInterface>) — Network configurations.