Class: Google::Apis::DeploymentmanagerV2beta::CollectionOverride

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CollectionOverride

Returns a new instance of CollectionOverride.



346
347
348
# File 'lib/google/apis/deploymentmanager_v2beta/classes.rb', line 346

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#collectionString

The collection that identifies this resource within its service. Corresponds to the JSON property collection

Returns:

  • (String)


339
340
341
# File 'lib/google/apis/deploymentmanager_v2beta/classes.rb', line 339

def collection
  @collection
end

#optionsGoogle::Apis::DeploymentmanagerV2beta::Options

Options allows customized resource handling by Deployment Manager. Corresponds to the JSON property options



344
345
346
# File 'lib/google/apis/deploymentmanager_v2beta/classes.rb', line 344

def options
  @options
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



351
352
353
354
# File 'lib/google/apis/deploymentmanager_v2beta/classes.rb', line 351

def update!(**args)
  @collection = args[:collection] if args.key?(:collection)
  @options = args[:options] if args.key?(:options)
end