Class: Google::Resourcemanager::Data::ProjectParentApi
- Inherits:
-
ProjectParent
- Object
- ProjectParent
- Google::Resourcemanager::Data::ProjectParentApi
- 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
Instance Method Summary collapse
-
#initialize(args) ⇒ ProjectParentApi
constructor
A new instance of ProjectParentApi.
Methods inherited from ProjectParent
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 |