Class: Google::Apis::RunV2::GoogleCloudRunV2BuildInfo

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

Instance Method Summary collapse

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_targetString

Output only. Entry point of the function when the image is a Cloud Run function. Corresponds to the JSON property functionTarget

Returns:

  • (String)


148
149
150
# File 'lib/google/apis/run_v2/classes.rb', line 148

def function_target
  @function_target
end

#source_locationString

Output only. Source code location of the image. Corresponds to the JSON property sourceLocation

Returns:

  • (String)


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