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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Manifest

Returns a new instance of Manifest.

[View source]

668
669
670
# File 'lib/google/apis/deploymentmanager_v2/classes.rb', line 668

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

Instance Attribute Details

#configGoogle::Apis::DeploymentmanagerV2::ConfigFile

Output only. The YAML configuration for this manifest. Corresponds to the JSON property config


620
621
622
# File 'lib/google/apis/deploymentmanager_v2/classes.rb', line 620

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)

626
627
628
# File 'lib/google/apis/deploymentmanager_v2/classes.rb', line 626

def expanded_config
  @expanded_config
end

#idFixnum

Corresponds to the JSON property id

Returns:

  • (Fixnum)

631
632
633
# File 'lib/google/apis/deploymentmanager_v2/classes.rb', line 631

def id
  @id
end

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

Output only. The imported files for this manifest. Corresponds to the JSON property imports


636
637
638
# File 'lib/google/apis/deploymentmanager_v2/classes.rb', line 636

def imports
  @imports
end

#insert_timeString

Output only. Creation timestamp in RFC3339 text format. Corresponds to the JSON property insertTime

Returns:

  • (String)

641
642
643
# File 'lib/google/apis/deploymentmanager_v2/classes.rb', line 641

def insert_time
  @insert_time
end

#layoutString

Output only. The YAML layout for this manifest. Corresponds to the JSON property layout

Returns:

  • (String)

646
647
648
# File 'lib/google/apis/deploymentmanager_v2/classes.rb', line 646

def layout
  @layout
end

#manifest_size_bytesFixnum

Output only. The computed size of the fully expanded manifest. Corresponds to the JSON property manifestSizeBytes

Returns:

  • (Fixnum)

651
652
653
# File 'lib/google/apis/deploymentmanager_v2/classes.rb', line 651

def manifest_size_bytes
  @manifest_size_bytes
end

#manifest_size_limit_bytesFixnum

Output only. The size limit for expanded manifests in the project. Corresponds to the JSON property manifestSizeLimitBytes

Returns:

  • (Fixnum)

656
657
658
# File 'lib/google/apis/deploymentmanager_v2/classes.rb', line 656

def manifest_size_limit_bytes
  @manifest_size_limit_bytes
end

#nameString

Output only. The name of the manifest. Corresponds to the JSON property name

Returns:

  • (String)

661
662
663
# File 'lib/google/apis/deploymentmanager_v2/classes.rb', line 661

def name
  @name
end

Output only. Self link for the manifest. Corresponds to the JSON property selfLink

Returns:

  • (String)

666
667
668
# File 'lib/google/apis/deploymentmanager_v2/classes.rb', line 666

def self_link
  @self_link
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

673
674
675
676
677
678
679
680
681
682
683
684
# File 'lib/google/apis/deploymentmanager_v2/classes.rb', line 673

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)
  @manifest_size_bytes = args[:manifest_size_bytes] if args.key?(:manifest_size_bytes)
  @manifest_size_limit_bytes = args[:manifest_size_limit_bytes] if args.key?(:manifest_size_limit_bytes)
  @name = args[:name] if args.key?(:name)
  @self_link = args[:self_link] if args.key?(:self_link)
end