Class: Google::Apis::ClouderrorreportingV1beta1::SourceReference
- Inherits:
-
Object
- Object
- Google::Apis::ClouderrorreportingV1beta1::SourceReference
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/clouderrorreporting_v1beta1/classes.rb,
generated/google/apis/clouderrorreporting_v1beta1/representations.rb,
generated/google/apis/clouderrorreporting_v1beta1/representations.rb
Overview
A reference to a particular snapshot of the source tree used to build and deploy an application.
Instance Attribute Summary collapse
-
#repository ⇒ String
Optional.
-
#revision_id ⇒ String
The canonical and 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.
Constructor Details
#initialize(**args) ⇒ SourceReference
Returns a new instance of SourceReference.
542 543 544 |
# File 'generated/google/apis/clouderrorreporting_v1beta1/classes.rb', line 542 def initialize(**args) update!(**args) end |
Instance Attribute Details
#repository ⇒ String
Optional. A URI string identifying the repository. Example: "https://github.
com/GoogleCloudPlatform/kubernetes.git"
Corresponds to the JSON property repository
534 535 536 |
# File 'generated/google/apis/clouderrorreporting_v1beta1/classes.rb', line 534 def repository @repository end |
#revision_id ⇒ String
The canonical and persistent identifier of the deployed revision. Example (git)
: "0035781c50ec7aa23385dc841529ce8a4b70db1b"
Corresponds to the JSON property revisionId
540 541 542 |
# File 'generated/google/apis/clouderrorreporting_v1beta1/classes.rb', line 540 def revision_id @revision_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
547 548 549 550 |
# File 'generated/google/apis/clouderrorreporting_v1beta1/classes.rb', line 547 def update!(**args) @repository = args[:repository] if args.key?(:repository) @revision_id = args[:revision_id] if args.key?(:revision_id) end |