Class: Google::Apis::ComputeAlpha::InstancesAddNetworkInterfaceRequest

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InstancesAddNetworkInterfaceRequest

Returns a new instance of InstancesAddNetworkInterfaceRequest.



20506
20507
20508
# File 'lib/google/apis/compute_alpha/classes.rb', line 20506

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#network_interfaceGoogle::Apis::ComputeAlpha::NetworkInterface

A network interface resource attached to an instance. Corresponds to the JSON property network_interface



20504
20505
20506
# File 'lib/google/apis/compute_alpha/classes.rb', line 20504

def network_interface
  @network_interface
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20511
20512
20513
# File 'lib/google/apis/compute_alpha/classes.rb', line 20511

def update!(**args)
  @network_interface = args[:network_interface] if args.key?(:network_interface)
end