Class: Google::Resourcemanager::Data::ProjectParentApi

Inherits:
ProjectParent
  • Object
show all
Defined in:
lib/google/resourcemanager/property/project_parent.rb

Overview

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

Instance Attribute Summary

Attributes inherited from ProjectParent

#id, #type

Instance Method Summary collapse

Methods inherited from ProjectParent

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

Constructor Details

#initialize(args) ⇒ ProjectParentApi

Returns a new instance of ProjectParentApi.



86
87
88
89
90
# File 'lib/google/resourcemanager/property/project_parent.rb', line 86

def initialize(args)
  @type =
    Google::Resourcemanager::Property::String.api_munge(args['type'])
  @id = Google::Resourcemanager::Property::String.api_munge(args['id'])
end