Class: Google::Apis::DeploymentmanagerV2beta2::Type
- Inherits:
-
Object
- Object
- Google::Apis::DeploymentmanagerV2beta2::Type
- Includes:
- Core::Hashable
- Defined in:
- generated/google/apis/deploymentmanager_v2beta2/classes.rb,
generated/google/apis/deploymentmanager_v2beta2/representations.rb,
generated/google/apis/deploymentmanager_v2beta2/representations.rb
Overview
A resource type supported by Deployment Manager.
Instance Attribute Summary collapse
-
#id ⇒ String
[Output Only] Unique identifier for the resource; defined by the server.
-
#insert_time ⇒ String
[Output Only] Timestamp when the type was created, in RFC3339 text format.
-
#name ⇒ String
Name of the type.
-
#self_link ⇒ String
[Output Only] Self link for the type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Type
constructor
A new instance of Type.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Type
Returns a new instance of Type
804 805 806 |
# File 'generated/google/apis/deploymentmanager_v2beta2/classes.rb', line 804 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
[Output Only] Unique identifier for the resource; defined by the server.
Corresponds to the JSON property id
787 788 789 |
# File 'generated/google/apis/deploymentmanager_v2beta2/classes.rb', line 787 def id @id end |
#insert_time ⇒ String
[Output Only] Timestamp when the type was created, in RFC3339 text format.
Corresponds to the JSON property insertTime
792 793 794 |
# File 'generated/google/apis/deploymentmanager_v2beta2/classes.rb', line 792 def insert_time @insert_time end |
#name ⇒ String
Name of the type.
Corresponds to the JSON property name
797 798 799 |
# File 'generated/google/apis/deploymentmanager_v2beta2/classes.rb', line 797 def name @name end |
#self_link ⇒ String
[Output Only] Self link for the type.
Corresponds to the JSON property selfLink
802 803 804 |
# File 'generated/google/apis/deploymentmanager_v2beta2/classes.rb', line 802 def self_link @self_link end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
809 810 811 812 813 814 |
# File 'generated/google/apis/deploymentmanager_v2beta2/classes.rb', line 809 def update!(**args) @id = args[:id] unless args[:id].nil? @insert_time = args[:insert_time] unless args[:insert_time].nil? @name = args[:name] unless args[:name].nil? @self_link = args[:self_link] unless args[:self_link].nil? end |