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.



915
916
917
# File 'lib/google/apis/deploymentmanager_v2/classes.rb', line 915

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



867
868
869
# File 'lib/google/apis/deploymentmanager_v2/classes.rb', line 867

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)


873
874
875
# File 'lib/google/apis/deploymentmanager_v2/classes.rb', line 873

def expanded_config
  @expanded_config
end

#idFixnum

Corresponds to the JSON property id

Returns:

  • (Fixnum)


878
879
880
# File 'lib/google/apis/deploymentmanager_v2/classes.rb', line 878

def id
  @id
end

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

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



883
884
885
# File 'lib/google/apis/deploymentmanager_v2/classes.rb', line 883

def imports
  @imports
end

#insert_timeString

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

Returns:

  • (String)


888
889
890
# File 'lib/google/apis/deploymentmanager_v2/classes.rb', line 888

def insert_time
  @insert_time
end

#layoutString

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

Returns:

  • (String)


893
894
895
# File 'lib/google/apis/deploymentmanager_v2/classes.rb', line 893

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)


898
899
900
# File 'lib/google/apis/deploymentmanager_v2/classes.rb', line 898

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)


903
904
905
# File 'lib/google/apis/deploymentmanager_v2/classes.rb', line 903

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)


908
909
910
# File 'lib/google/apis/deploymentmanager_v2/classes.rb', line 908

def name
  @name
end

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

Returns:

  • (String)


913
914
915
# File 'lib/google/apis/deploymentmanager_v2/classes.rb', line 913

def self_link
  @self_link
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



920
921
922
923
924
925
926
927
928
929
930
931
# File 'lib/google/apis/deploymentmanager_v2/classes.rb', line 920

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