class Google::Apis::DeploymentmanagerV2beta2::Resource

Attributes

final_properties[RW]
Output Only

The evaluated properties of the resource with references

expanded. Returned as serialized YAML. Corresponds to the JSON property `finalProperties` @return [String]

id[RW]
Output Only

Unique identifier for the resource; defined by the server.

Corresponds to the JSON property `id` @return [String]

insert_time[RW]
Output Only

Timestamp when the resource was created or acquired, in RFC3339

text format . Corresponds to the JSON property `insertTime` @return [String]

manifest[RW]
Output Only

URL of the manifest representing the current configuration of

this resource. Corresponds to the JSON property `manifest` @return [String]

name[RW]
Output Only

The name of the resource as it appears in the YAML config.

Corresponds to the JSON property `name` @return [String]

properties[RW]
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` @return [String]

type[RW]
Output Only

The type of the resource, for example compute.v1.instance, or

replicaPools.v1beta2.instanceGroupManager. Corresponds to the JSON property `type` @return [String]

update[RW]

Corresponds to the JSON property `update` @return [Google::Apis::DeploymentmanagerV2beta2::ResourceUpdate]

update_time[RW]
Output Only

Timestamp when the resource was updated, in RFC3339 text format .

Corresponds to the JSON property `updateTime` @return [String]

url[RW]
Output Only

The URL of the actual resource.

Corresponds to the JSON property `url` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/deploymentmanager_v2beta2/classes.rb, line 655
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# 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