Class: Google::Apis::DeploymentmanagerAlpha::CollectionOverride
- Inherits:
-
Object
- Object
- Google::Apis::DeploymentmanagerAlpha::CollectionOverride
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/deploymentmanager_alpha/classes.rb,
generated/google/apis/deploymentmanager_alpha/representations.rb,
generated/google/apis/deploymentmanager_alpha/representations.rb
Overview
CollectionOverride allows resource handling overrides for specific resources within a BaseType
Instance Attribute Summary collapse
-
#collection ⇒ String
The collection that identifies this resource within its service.
-
#method_map ⇒ Google::Apis::DeploymentmanagerAlpha::MethodMap
Deployment Manager will call these methods during the events of creation/ deletion/update/get/setIamPolicy Corresponds to the JSON property
methodMap
. -
#options ⇒ Google::Apis::DeploymentmanagerAlpha::Options
Options allows customized resource handling by Deployment Manager.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CollectionOverride
constructor
A new instance of CollectionOverride.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CollectionOverride
Returns a new instance of CollectionOverride
241 242 243 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 241 def initialize(**args) update!(**args) end |
Instance Attribute Details
#collection ⇒ String
The collection that identifies this resource within its service.
Corresponds to the JSON property collection
228 229 230 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 228 def collection @collection end |
#method_map ⇒ Google::Apis::DeploymentmanagerAlpha::MethodMap
Deployment Manager will call these methods during the events of creation/
deletion/update/get/setIamPolicy
Corresponds to the JSON property methodMap
234 235 236 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 234 def method_map @method_map end |
#options ⇒ Google::Apis::DeploymentmanagerAlpha::Options
Options allows customized resource handling by Deployment Manager.
Corresponds to the JSON property options
239 240 241 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 239 def @options end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
246 247 248 249 250 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 246 def update!(**args) @collection = args[:collection] if args.key?(:collection) @method_map = args[:method_map] if args.key?(:method_map) @options = args[:options] if args.key?(:options) end |