class Google::Apis::LoggingV2beta1::SourceReference
A reference to a particular snapshot of the source tree used to build and deploy an application.
Attributes
repository[RW]
Optional. A URI string identifying the repository. Example: “github. com/GoogleCloudPlatform/kubernetes.git” Corresponds to the JSON property `repository` @return [String]
revision_id[RW]
The canonical and persistent identifier of the deployed revision. Example (git) : “0035781c50ec7aa23385dc841529ce8a4b70db1b” Corresponds to the JSON property `revisionId` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/logging_v2beta1/classes.rb, line 1134 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/logging_v2beta1/classes.rb, line 1139 def update!(**args) @repository = args[:repository] if args.key?(:repository) @revision_id = args[:revision_id] if args.key?(:revision_id) end