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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Manifest

Returns a new instance of Manifest.



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

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



618
619
620
# File 'lib/google/apis/deploymentmanager_v2/classes.rb', line 618

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)


624
625
626
# File 'lib/google/apis/deploymentmanager_v2/classes.rb', line 624

def expanded_config
  @expanded_config
end

#idFixnum

Corresponds to the JSON property id

Returns:

  • (Fixnum)


629
630
631
# File 'lib/google/apis/deploymentmanager_v2/classes.rb', line 629

def id
  @id
end

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

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



634
635
636
# File 'lib/google/apis/deploymentmanager_v2/classes.rb', line 634

def imports
  @imports
end

#insert_timeString

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

Returns:

  • (String)


639
640
641
# File 'lib/google/apis/deploymentmanager_v2/classes.rb', line 639

def insert_time
  @insert_time
end

#layoutString

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

Returns:

  • (String)


644
645
646
# File 'lib/google/apis/deploymentmanager_v2/classes.rb', line 644

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)


649
650
651
# File 'lib/google/apis/deploymentmanager_v2/classes.rb', line 649

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)


654
655
656
# File 'lib/google/apis/deploymentmanager_v2/classes.rb', line 654

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)


659
660
661
# File 'lib/google/apis/deploymentmanager_v2/classes.rb', line 659

def name
  @name
end

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

Returns:

  • (String)


664
665
666
# File 'lib/google/apis/deploymentmanager_v2/classes.rb', line 664

def self_link
  @self_link
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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