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.


533
534
535
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 533

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

Instance Attribute Details

#configGoogle::Apis::DeploymentmanagerV2::ConfigFile

Corresponds to the JSON property config


495
496
497
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 495

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)

501
502
503
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 501

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)

506
507
508
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 506

def id
  @id
end

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

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


511
512
513
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 511

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)

516
517
518
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 516

def insert_time
  @insert_time
end

#layoutString

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

Returns:

  • (String)

521
522
523
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 521

def layout
  @layout
end

#nameString

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

Returns:

  • (String)

526
527
528
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 526

def name
  @name
end

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

Returns:

  • (String)

531
532
533
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 531

def self_link
  @self_link
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


538
539
540
541
542
543
544
545
546
547
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 538

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