Class: Google::Apis::ApigeeregistryV1::Build

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

Instance Method Summary collapse

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_idString

Output only. Commit ID of the latest commit in the build. Corresponds to the JSON property commitId

Returns:

  • (String)


623
624
625
# File 'lib/google/apis/apigeeregistry_v1/classes.rb', line 623

def commit_id
  @commit_id
end

#commit_timeString

Output only. Commit time of the latest commit in the build. Corresponds to the JSON property commitTime

Returns:

  • (String)


628
629
630
# File 'lib/google/apis/apigeeregistry_v1/classes.rb', line 628

def commit_time
  @commit_time
end

#repoString

Output only. Path of the open source repository: github.com/apigee/registry. Corresponds to the JSON property repo

Returns:

  • (String)


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