class Google::Apis::DeploymentmanagerV2::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::DeploymentmanagerV2::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]

warnings[RW]
Output Only

If warning messages are generated during processing of this

resource, this field will be populated. Corresponds to the JSON property `warnings` @return [Array<Google::Apis::DeploymentmanagerV2::Resource::Warning>]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/deploymentmanager_v2/classes.rb, line 792
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_v2/classes.rb, line 797
def update!(**args)
  @final_properties = args[:final_properties] if args.key?(:final_properties)
  @id = args[:id] if args.key?(:id)
  @insert_time = args[:insert_time] if args.key?(:insert_time)
  @manifest = args[:manifest] if args.key?(:manifest)
  @name = args[:name] if args.key?(:name)
  @properties = args[:properties] if args.key?(:properties)
  @type = args[:type] if args.key?(:type)
  @update = args[:update] if args.key?(:update)
  @update_time = args[:update_time] if args.key?(:update_time)
  @url = args[:url] if args.key?(:url)
  @warnings = args[:warnings] if args.key?(:warnings)
end