Class: Google::Apis::DeploymentmanagerV2::Type
- Inherits:
-
Object
- Object
- Google::Apis::DeploymentmanagerV2::Type
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/deploymentmanager_v2/classes.rb,
generated/google/apis/deploymentmanager_v2/representations.rb,
generated/google/apis/deploymentmanager_v2/representations.rb
Overview
A resource type supported by Deployment Manager.
Instance Attribute Summary collapse
-
#id ⇒ Fixnum
[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.
-
#operation ⇒ Google::Apis::DeploymentmanagerV2::Operation
An Operation resource, used to manage asynchronous API requests.
-
#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::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Type
Returns a new instance of Type
1567 1568 1569 |
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 1567 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ Fixnum
[Output Only] Unique identifier for the resource; defined by the server.
Corresponds to the JSON property id
1545 1546 1547 |
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 1545 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
1550 1551 1552 |
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 1550 def insert_time @insert_time end |
#name ⇒ String
Name of the type.
Corresponds to the JSON property name
1555 1556 1557 |
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 1555 def name @name end |
#operation ⇒ Google::Apis::DeploymentmanagerV2::Operation
An Operation resource, used to manage asynchronous API requests.
Corresponds to the JSON property operation
1560 1561 1562 |
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 1560 def operation @operation end |
#self_link ⇒ String
[Output Only] Self link for the type.
Corresponds to the JSON property selfLink
1565 1566 1567 |
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 1565 def self_link @self_link end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1572 1573 1574 1575 1576 1577 1578 |
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 1572 def update!(**args) @id = args[:id] if args.key?(:id) @insert_time = args[:insert_time] if args.key?(:insert_time) @name = args[:name] if args.key?(:name) @operation = args[:operation] if args.key?(:operation) @self_link = args[:self_link] if args.key?(:self_link) end |