Class: Google::Compute::Data::InstaTemplAccesConfiApi
- Inherits:
-
InstaTemplAccesConfi
- Object
- InstaTemplAccesConfi
- Google::Compute::Data::InstaTemplAccesConfiApi
- Defined in:
- lib/google/compute/property/instancetemplate_access_configs.rb
Overview
Manages a InstaTemplAccesConfi nested object Data is coming from the GCP API
Instance Attribute Summary
Attributes inherited from InstaTemplAccesConfi
Instance Method Summary collapse
-
#initialize(args) ⇒ InstaTemplAccesConfiApi
constructor
A new instance of InstaTemplAccesConfiApi.
Methods inherited from InstaTemplAccesConfi
Constructor Details
#initialize(args) ⇒ InstaTemplAccesConfiApi
Returns a new instance of InstaTemplAccesConfiApi.
91 92 93 94 95 96 97 |
# File 'lib/google/compute/property/instancetemplate_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 |