class Google::Apis::DeploymentmanagerV2::Resource

Attributes

access_control[RW]

The access controls set on the resource. Corresponds to the JSON property `accessControl` @return [Google::Apis::DeploymentmanagerV2::ResourceAccessControl]

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]

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

insert_time[RW]

Output only. Creation timestamp 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 ` cloudfunctions.v1beta1.function`. Corresponds to the JSON property `type` @return [String]

update[RW]

Output only. If Deployment Manager is currently updating or previewing an update to this resource, the updated configuration appears here. Corresponds to the JSON property `update` @return [Google::Apis::DeploymentmanagerV2::ResourceUpdate]

update_time[RW]

Output only. Update timestamp 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 lib/google/apis/deploymentmanager_v2/classes.rb, line 1201
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/deploymentmanager_v2/classes.rb, line 1206
def update!(**args)
  @access_control = args[:access_control] if args.key?(:access_control)
  @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