Class: Google::Apis::AppengineV1beta5::SourceReference

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SourceReference

Returns a new instance of SourceReference.



1695
1696
1697
# File 'generated/google/apis/appengine_v1beta5/classes.rb', line 1695

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

Instance Attribute Details

#repositoryString

URI string identifying the repository. Example: "https://source.developers. google.com/p/app-123/r/default" Corresponds to the JSON property repository

Returns:

  • (String)


1686
1687
1688
# File 'generated/google/apis/appengine_v1beta5/classes.rb', line 1686

def repository
  @repository
end

#revision_idString

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

Returns:

  • (String)


1693
1694
1695
# File 'generated/google/apis/appengine_v1beta5/classes.rb', line 1693

def revision_id
  @revision_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1700
1701
1702
1703
# File 'generated/google/apis/appengine_v1beta5/classes.rb', line 1700

def update!(**args)
  @repository = args[:repository] if args.key?(:repository)
  @revision_id = args[:revision_id] if args.key?(:revision_id)
end