Class: Google::Apis::AppengineV1beta4::Deployment

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

Overview

Code and application artifacts used to deploy a version to App Engine.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Deployment

Returns a new instance of Deployment



1088
1089
1090
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 1088

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

Instance Attribute Details

#containerGoogle::Apis::AppengineV1beta4::ContainerInfo

A Docker (container) image which should be used to start the application. Corresponds to the JSON property container



1079
1080
1081
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 1079

def container
  @container
end

#filesHash<String,Google::Apis::AppengineV1beta4::FileInfo>

A manifest of files stored in Google Cloud Storage which should be included as part of this application. All files must be readable using the credentials supplied with this call. Corresponds to the JSON property files



1074
1075
1076
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 1074

def files
  @files
end

#source_referencesArray<Google::Apis::AppengineV1beta4::SourceReference>

The origin of the source code for this deployment. There can be more than one source reference per Version if source code is distributed among multiple repositories. Corresponds to the JSON property sourceReferences



1086
1087
1088
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 1086

def source_references
  @source_references
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1093
1094
1095
1096
1097
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 1093

def update!(**args)
  @files = args[:files] if args.key?(:files)
  @container = args[:container] if args.key?(:container)
  @source_references = args[:source_references] if args.key?(:source_references)
end