Class: Google::Apis::DeploymentmanagerV2::Manifest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/deploymentmanager_v2/classes.rb,
generated/google/apis/deploymentmanager_v2/representations.rb,
generated/google/apis/deploymentmanager_v2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Manifest

Returns a new instance of Manifest.



371
372
373
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 371

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

Instance Attribute Details

#configGoogle::Apis::DeploymentmanagerV2::ConfigFile

Corresponds to the JSON property config



333
334
335
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 333

def config
  @config
end

#expanded_configString

[Output Only] The fully-expanded configuration file, including any templates and references. Corresponds to the JSON property expandedConfig

Returns:

  • (String)


339
340
341
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 339

def expanded_config
  @expanded_config
end

#idString

[Output Only] Unique identifier for the resource; defined by the server. Corresponds to the JSON property id

Returns:

  • (String)


344
345
346
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 344

def id
  @id
end

#importsArray<Google::Apis::DeploymentmanagerV2::ImportFile>

[Output Only] The imported files for this manifest. Corresponds to the JSON property imports



349
350
351
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 349

def imports
  @imports
end

#insert_timeString

[Output Only] Timestamp when the manifest was created, in RFC3339 text format. Corresponds to the JSON property insertTime

Returns:

  • (String)


354
355
356
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 354

def insert_time
  @insert_time
end

#layoutString

[Output Only] The YAML layout for this manifest. Corresponds to the JSON property layout

Returns:

  • (String)


359
360
361
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 359

def layout
  @layout
end

#nameString

[Output Only] The name of the manifest. Corresponds to the JSON property name

Returns:

  • (String)


364
365
366
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 364

def name
  @name
end

[Output Only] Self link for the manifest. Corresponds to the JSON property selfLink

Returns:

  • (String)


369
370
371
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 369

def self_link
  @self_link
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



376
377
378
379
380
381
382
383
384
385
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 376

def update!(**args)
  @config = args[:config] if args.key?(:config)
  @expanded_config = args[:expanded_config] if args.key?(:expanded_config)
  @id = args[:id] if args.key?(:id)
  @imports = args[:imports] if args.key?(:imports)
  @insert_time = args[:insert_time] if args.key?(:insert_time)
  @layout = args[:layout] if args.key?(:layout)
  @name = args[:name] if args.key?(:name)
  @self_link = args[:self_link] if args.key?(:self_link)
end