class Google::Apis::DeploymentmanagerAlpha::Resource
Attributes
The access controls set on the resource. Corresponds to the JSON property `accessControl` @return [Google::Apis::DeploymentmanagerAlpha::ResourceAccessControl]
Output only. The evaluated properties of the resource with references expanded. Returned as serialized YAML. Corresponds to the JSON property `finalProperties` @return [String]
Corresponds to the JSON property `id` @return [Fixnum]
Output only. Creation timestamp in RFC3339 text format. Corresponds to the JSON property `insertTime` @return [String]
The credential used by Deployment
Manager and TypeProvider
. Only one of the options is permitted. Corresponds to the JSON property `lastUsedCredential` @return [Google::Apis::DeploymentmanagerAlpha::Credential]
Output only. URL of the manifest representing the current configuration of this resource. Corresponds to the JSON property `manifest` @return [String]
Output only. The name of the resource as it appears in the YAML config. Corresponds to the JSON property `name` @return [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` @return [String]
Output only. In case this is an action, it will show the runtimePolicies on which this action will run in the deployment Corresponds to the JSON property `runtimePolicies` @return [Array<String>]
Output only. The type of the resource, for example `compute.v1.instance`, or ` cloudfunctions.v1beta1.function`. Corresponds to the JSON property `type` @return [String]
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::DeploymentmanagerAlpha::ResourceUpdate]
Output only. Update timestamp in RFC3339 text format. Corresponds to the JSON property `updateTime` @return [String]
Output only. The URL of the actual resource. Corresponds to the JSON property `url` @return [String]
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::DeploymentmanagerAlpha::Resource::Warning>]
Public Class Methods
# File lib/google/apis/deploymentmanager_alpha/classes.rb, line 1740 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/deploymentmanager_alpha/classes.rb, line 1745 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) @last_used_credential = args[:last_used_credential] if args.key?(:last_used_credential) @manifest = args[:manifest] if args.key?(:manifest) @name = args[:name] if args.key?(:name) @properties = args[:properties] if args.key?(:properties) @runtime_policies = args[:runtime_policies] if args.key?(:runtime_policies) @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