Class: Google::Apis::RunV2::GoogleCloudRunV2BuildInfo
- Inherits:
-
Object
- Object
- Google::Apis::RunV2::GoogleCloudRunV2BuildInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/run_v2/classes.rb,
lib/google/apis/run_v2/representations.rb,
lib/google/apis/run_v2/representations.rb
Overview
Build information of the image.
Instance Attribute Summary collapse
-
#function_target ⇒ String
Output only.
-
#source_location ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRunV2BuildInfo
constructor
A new instance of GoogleCloudRunV2BuildInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRunV2BuildInfo
Returns a new instance of GoogleCloudRunV2BuildInfo.
155 156 157 |
# File 'lib/google/apis/run_v2/classes.rb', line 155 def initialize(**args) update!(**args) end |
Instance Attribute Details
#function_target ⇒ String
Output only. Entry point of the function when the image is a Cloud Run
function.
Corresponds to the JSON property functionTarget
148 149 150 |
# File 'lib/google/apis/run_v2/classes.rb', line 148 def function_target @function_target end |
#source_location ⇒ String
Output only. Source code location of the image.
Corresponds to the JSON property sourceLocation
153 154 155 |
# File 'lib/google/apis/run_v2/classes.rb', line 153 def source_location @source_location end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
160 161 162 163 |
# File 'lib/google/apis/run_v2/classes.rb', line 160 def update!(**args) @function_target = args[:function_target] if args.key?(:function_target) @source_location = args[:source_location] if args.key?(:source_location) end |