Class: Google::Compute::Data::InstancServiceAccountApi

Inherits:
InstancServiceAccount show all
Defined in:
lib/google/compute/property/instance_service_accounts.rb

Overview

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

Instance Attribute Summary

Attributes inherited from InstancServiceAccount

#email, #scopes

Instance Method Summary collapse

Methods inherited from InstancServiceAccount

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

Constructor Details

#initialize(args) ⇒ InstancServiceAccountApi

Returns a new instance of InstancServiceAccountApi.



87
88
89
90
91
# File 'lib/google/compute/property/instance_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