class Google::Apis::LoggingV1beta3::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_v1beta3/classes.rb, line 1067
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_v1beta3/classes.rb, line 1072
def update!(**args)
  @repository = args[:repository] unless args[:repository].nil?
  @revision_id = args[:revision_id] unless args[:revision_id].nil?
end