Class: Google::Apis::RunV2::GoogleCloudRunV2SubmitBuildResponse

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

Response message for submitting a Build.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRunV2SubmitBuildResponse

Returns a new instance of GoogleCloudRunV2SubmitBuildResponse.



2688
2689
2690
# File 'lib/google/apis/run_v2/classes.rb', line 2688

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#base_image_uriString

URI of the base builder image in Artifact Registry being used in the build. Used to opt into automatic base image updates. Corresponds to the JSON property baseImageUri

Returns:

  • (String)


2675
2676
2677
# File 'lib/google/apis/run_v2/classes.rb', line 2675

def base_image_uri
  @base_image_uri
end

#base_image_warningString

Warning message for the base image. Corresponds to the JSON property baseImageWarning

Returns:

  • (String)


2680
2681
2682
# File 'lib/google/apis/run_v2/classes.rb', line 2680

def base_image_warning
  @base_image_warning
end

#build_operationGoogle::Apis::RunV2::GoogleLongrunningOperation

This resource represents a long-running operation that is the result of a network API call. Corresponds to the JSON property buildOperation



2686
2687
2688
# File 'lib/google/apis/run_v2/classes.rb', line 2686

def build_operation
  @build_operation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2693
2694
2695
2696
2697
# File 'lib/google/apis/run_v2/classes.rb', line 2693

def update!(**args)
  @base_image_uri = args[:base_image_uri] if args.key?(:base_image_uri)
  @base_image_warning = args[:base_image_warning] if args.key?(:base_image_warning)
  @build_operation = args[:build_operation] if args.key?(:build_operation)
end