Class: Google::Apis::ComputeAlpha::InstancesAddNetworkInterfaceRequest
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::InstancesAddNetworkInterfaceRequest
- 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
-
#network_interface ⇒ Google::Apis::ComputeAlpha::NetworkInterface
A network interface resource attached to an instance.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InstancesAddNetworkInterfaceRequest
constructor
A new instance of InstancesAddNetworkInterfaceRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_interface ⇒ Google::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 |