Class: Google::Apis::ApigeeregistryV1::Build
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeregistryV1::Build
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apigeeregistry_v1/classes.rb,
lib/google/apis/apigeeregistry_v1/representations.rb,
lib/google/apis/apigeeregistry_v1/representations.rb
Overview
Build information of the Instance if it's in ACTIVE
state.
Instance Attribute Summary collapse
-
#commit_id ⇒ String
Output only.
-
#commit_time ⇒ String
Output only.
-
#repo ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Build
constructor
A new instance of Build.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Build
Returns a new instance of Build.
635 636 637 |
# File 'lib/google/apis/apigeeregistry_v1/classes.rb', line 635 def initialize(**args) update!(**args) end |
Instance Attribute Details
#commit_id ⇒ String
Output only. Commit ID of the latest commit in the build.
Corresponds to the JSON property commitId
623 624 625 |
# File 'lib/google/apis/apigeeregistry_v1/classes.rb', line 623 def commit_id @commit_id end |
#commit_time ⇒ String
Output only. Commit time of the latest commit in the build.
Corresponds to the JSON property commitTime
628 629 630 |
# File 'lib/google/apis/apigeeregistry_v1/classes.rb', line 628 def commit_time @commit_time end |
#repo ⇒ String
Output only. Path of the open source repository: github.com/apigee/registry.
Corresponds to the JSON property repo
633 634 635 |
# File 'lib/google/apis/apigeeregistry_v1/classes.rb', line 633 def repo @repo end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
640 641 642 643 644 |
# File 'lib/google/apis/apigeeregistry_v1/classes.rb', line 640 def update!(**args) @commit_id = args[:commit_id] if args.key?(:commit_id) @commit_time = args[:commit_time] if args.key?(:commit_time) @repo = args[:repo] if args.key?(:repo) end |