Class: Google::Apis::DeploymentmanagerV2beta2::Resource
- Inherits:
-
Object
- Object
- Google::Apis::DeploymentmanagerV2beta2::Resource
- 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
Instance Attribute Summary collapse
-
#final_properties ⇒ String
[Output Only] The evaluated properties of the resource with references expanded.
-
#id ⇒ String
[Output Only] Unique identifier for the resource; defined by the server.
-
#insert_time ⇒ String
[Output Only] Timestamp when the resource was created or acquired, in RFC3339 text format .
-
#manifest ⇒ String
[Output Only] URL of the manifest representing the current configuration of this resource.
-
#name ⇒ String
[Output Only] The name of the resource as it appears in the YAML config.
-
#properties ⇒ String
[Output Only] The current properties of the resource before any references have been filled in.
-
#type ⇒ String
[Output Only] The type of the resource, for example compute.v1.instance, or replicaPools.v1beta2.instanceGroupManager.
-
#update ⇒ Google::Apis::DeploymentmanagerV2beta2::ResourceUpdate
Corresponds to the JSON property
update
. -
#update_time ⇒ String
[Output Only] Timestamp when the resource was updated, in RFC3339 text format .
-
#url ⇒ String
[Output Only] The URL of the actual resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Resource
constructor
A new instance of Resource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Resource
Returns a new instance of Resource
655 656 657 |
# File 'generated/google/apis/deploymentmanager_v2beta2/classes.rb', line 655 def initialize(**args) update!(**args) end |
Instance Attribute Details
#final_properties ⇒ String
[Output Only] The evaluated properties of the resource with references
expanded. Returned as serialized YAML.
Corresponds to the JSON property finalProperties
604 605 606 |
# File 'generated/google/apis/deploymentmanager_v2beta2/classes.rb', line 604 def final_properties @final_properties end |
#id ⇒ String
[Output Only] Unique identifier for the resource; defined by the server.
Corresponds to the JSON property id
609 610 611 |
# File 'generated/google/apis/deploymentmanager_v2beta2/classes.rb', line 609 def id @id end |
#insert_time ⇒ String
[Output Only] Timestamp when the resource was created or acquired, in RFC3339
text format .
Corresponds to the JSON property insertTime
615 616 617 |
# File 'generated/google/apis/deploymentmanager_v2beta2/classes.rb', line 615 def insert_time @insert_time end |
#manifest ⇒ String
[Output Only] URL of the manifest representing the current configuration of
this resource.
Corresponds to the JSON property manifest
621 622 623 |
# File 'generated/google/apis/deploymentmanager_v2beta2/classes.rb', line 621 def manifest @manifest end |
#name ⇒ String
[Output Only] The name of the resource as it appears in the YAML config.
Corresponds to the JSON property name
626 627 628 |
# File 'generated/google/apis/deploymentmanager_v2beta2/classes.rb', line 626 def name @name end |
#properties ⇒ String
[Output Only] The current properties of the resource before any references
have been filled in. Returned as serialized YAML.
Corresponds to the JSON property properties
632 633 634 |
# File 'generated/google/apis/deploymentmanager_v2beta2/classes.rb', line 632 def properties @properties end |
#type ⇒ String
[Output Only] The type of the resource, for example compute.v1.instance, or
replicaPools.v1beta2.instanceGroupManager.
Corresponds to the JSON property type
638 639 640 |
# File 'generated/google/apis/deploymentmanager_v2beta2/classes.rb', line 638 def type @type end |
#update ⇒ Google::Apis::DeploymentmanagerV2beta2::ResourceUpdate
Corresponds to the JSON property update
643 644 645 |
# File 'generated/google/apis/deploymentmanager_v2beta2/classes.rb', line 643 def update @update end |
#update_time ⇒ String
[Output Only] Timestamp when the resource was updated, in RFC3339 text format .
Corresponds to the JSON property updateTime
648 649 650 |
# File 'generated/google/apis/deploymentmanager_v2beta2/classes.rb', line 648 def update_time @update_time end |
#url ⇒ String
[Output Only] The URL of the actual resource.
Corresponds to the JSON property url
653 654 655 |
# File 'generated/google/apis/deploymentmanager_v2beta2/classes.rb', line 653 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
660 661 662 663 664 665 666 667 668 669 670 671 |
# File 'generated/google/apis/deploymentmanager_v2beta2/classes.rb', line 660 def update!(**args) @final_properties = args[:final_properties] unless args[:final_properties].nil? @id = args[:id] unless args[:id].nil? @insert_time = args[:insert_time] unless args[:insert_time].nil? @manifest = args[:manifest] unless args[:manifest].nil? @name = args[:name] unless args[:name].nil? @properties = args[:properties] unless args[:properties].nil? @type = args[:type] unless args[:type].nil? @update = args[:update] unless args[:update].nil? @update_time = args[:update_time] unless args[:update_time].nil? @url = args[:url] unless args[:url].nil? end |