Class: Google::Apis::AppengineV1beta5::SourceReference
- Inherits:
-
Object
- Object
- Google::Apis::AppengineV1beta5::SourceReference
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/appengine_v1beta5/classes.rb,
generated/google/apis/appengine_v1beta5/representations.rb,
generated/google/apis/appengine_v1beta5/representations.rb
Overview
Reference to a particular snapshot of the source tree used to build and deploy the application.
Instance Attribute Summary collapse
-
#repository ⇒ String
URI string identifying the repository.
-
#revision_id ⇒ String
The canonical, persistent identifier of the deployed revision.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SourceReference
constructor
A new instance of SourceReference.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SourceReference
Returns a new instance of SourceReference.
1300 1301 1302 |
# File 'generated/google/apis/appengine_v1beta5/classes.rb', line 1300 def initialize(**args) update!(**args) end |
Instance Attribute Details
#repository ⇒ String
URI string identifying the repository. Example: "https://source.developers.
google.com/p/app-123/r/default"
Corresponds to the JSON property repository
1291 1292 1293 |
# File 'generated/google/apis/appengine_v1beta5/classes.rb', line 1291 def repository @repository end |
#revision_id ⇒ String
The canonical, persistent identifier of the deployed revision. Aliases that
include tags or branch names are not allowed. Example (git): "
2198322f89e0bb2e25021667c2ed489d1fd34e6b"
Corresponds to the JSON property revisionId
1298 1299 1300 |
# File 'generated/google/apis/appengine_v1beta5/classes.rb', line 1298 def revision_id @revision_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1305 1306 1307 1308 |
# File 'generated/google/apis/appengine_v1beta5/classes.rb', line 1305 def update!(**args) @repository = args[:repository] if args.key?(:repository) @revision_id = args[:revision_id] if args.key?(:revision_id) end |