Class: Google::Compute::Data::InstaTemplServiAccouApi

Inherits:
InstaTemplServiAccou show all
Defined in:
lib/google/compute/property/instancetemplate_service_accounts.rb

Overview

Manages a InstaTemplServiAccou nested object Data is coming from the GCP API

Instance Attribute Summary

Attributes inherited from InstaTemplServiAccou

#email, #scopes

Instance Method Summary collapse

Methods inherited from InstaTemplServiAccou

#<=>, #==, #to_json, #to_s

Constructor Details

#initialize(args) ⇒ InstaTemplServiAccouApi

Returns a new instance of InstaTemplServiAccouApi.



87
88
89
90
91
# File 'lib/google/compute/property/instancetemplate_service_accounts.rb', line 87

def initialize(args)
  @email = Google::Compute::Property::Boolean.api_munge(args['email'])
  @scopes =
    Google::Compute::Property::StringArray.api_munge(args['scopes'])
end