Class: Google::Compute::Data::InstancAccessConfigsApi
- Inherits:
-
InstancAccessConfigs
- Object
- InstancAccessConfigs
- Google::Compute::Data::InstancAccessConfigsApi
- Defined in:
- lib/google/compute/property/instance_access_configs.rb
Overview
Manages a InstancAccessConfigs nested object Data is coming from the GCP API
Instance Attribute Summary
Attributes inherited from InstancAccessConfigs
Instance Method Summary collapse
-
#initialize(args) ⇒ InstancAccessConfigsApi
constructor
A new instance of InstancAccessConfigsApi.
Methods inherited from InstancAccessConfigs
Constructor Details
#initialize(args) ⇒ InstancAccessConfigsApi
Returns a new instance of InstancAccessConfigsApi.
91 92 93 94 95 96 97 |
# File 'lib/google/compute/property/instance_access_configs.rb', line 91 def initialize(args) @name = Google::Compute::Property::String.api_munge(args['name']) @nat_ip = Google::Compute::Property::AddressAddressRef.api_munge( args['natIP'] ) @type = Google::Compute::Property::Enum.api_munge(args['type']) end |