Class: Google::Apis::DeploymentmanagerV2beta::CollectionOverride
- Inherits:
-
Object
- Object
- Google::Apis::DeploymentmanagerV2beta::CollectionOverride
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/deploymentmanager_v2beta/classes.rb,
lib/google/apis/deploymentmanager_v2beta/representations.rb,
lib/google/apis/deploymentmanager_v2beta/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.
-
#options ⇒ Google::Apis::DeploymentmanagerV2beta::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.
Constructor Details
#initialize(**args) ⇒ CollectionOverride
Returns a new instance of CollectionOverride.
275 276 277 |
# File 'lib/google/apis/deploymentmanager_v2beta/classes.rb', line 275 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
268 269 270 |
# File 'lib/google/apis/deploymentmanager_v2beta/classes.rb', line 268 def collection @collection end |
#options ⇒ Google::Apis::DeploymentmanagerV2beta::Options
Options allows customized resource handling by Deployment Manager.
Corresponds to the JSON property options
273 274 275 |
# File 'lib/google/apis/deploymentmanager_v2beta/classes.rb', line 273 def @options end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
280 281 282 283 |
# File 'lib/google/apis/deploymentmanager_v2beta/classes.rb', line 280 def update!(**args) @collection = args[:collection] if args.key?(:collection) @options = args[:options] if args.key?(:options) end |