Class: Google::Cloud::Run::V2::SubmitBuildRequest::BuildpacksBuild

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/run/v2/build.rb

Overview

Build the source using Buildpacks.

Defined Under Namespace

Classes: EnvironmentVariablesEntry

Instance Attribute Summary collapse

Instance Attribute Details

#base_image::String

Returns Optional. The base image used to opt into automatic base image updates.

Returns:

  • (::String)

    Optional. The base image used to opt into automatic base image updates.



95
96
97
98
99
100
101
102
103
104
105
106
107
# File 'proto_docs/google/cloud/run/v2/build.rb', line 95

class BuildpacksBuild
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class EnvironmentVariablesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#cache_image_uri::String

Returns Optional. cache_image_uri is the GCR/AR URL where the cache image will be stored. cache_image_uri is optional and omitting it will disable caching. This URL must be stable across builds. It is used to derive a build-specific temporary URL by substituting the tag with the build ID. The build will clean up the temporary image on a best-effort basis.

Returns:

  • (::String)

    Optional. cache_image_uri is the GCR/AR URL where the cache image will be stored. cache_image_uri is optional and omitting it will disable caching. This URL must be stable across builds. It is used to derive a build-specific temporary URL by substituting the tag with the build ID. The build will clean up the temporary image on a best-effort basis.



95
96
97
98
99
100
101
102
103
104
105
106
107
# File 'proto_docs/google/cloud/run/v2/build.rb', line 95

class BuildpacksBuild
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class EnvironmentVariablesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#enable_automatic_updates::Boolean

Returns Optional. Whether or not the application container will be enrolled in automatic base image updates. When true, the application will be built on a scratch base image, so the base layers can be appended at run time.

Returns:

  • (::Boolean)

    Optional. Whether or not the application container will be enrolled in automatic base image updates. When true, the application will be built on a scratch base image, so the base layers can be appended at run time.



95
96
97
98
99
100
101
102
103
104
105
106
107
# File 'proto_docs/google/cloud/run/v2/build.rb', line 95

class BuildpacksBuild
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class EnvironmentVariablesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#environment_variables::Google::Protobuf::Map{::String => ::String}

Returns Optional. User-provided build-time environment variables.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    Optional. User-provided build-time environment variables.



95
96
97
98
99
100
101
102
103
104
105
106
107
# File 'proto_docs/google/cloud/run/v2/build.rb', line 95

class BuildpacksBuild
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class EnvironmentVariablesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#function_target::String

Returns Optional. Name of the function target if the source is a function source. Required for function builds.

Returns:

  • (::String)

    Optional. Name of the function target if the source is a function source. Required for function builds.



95
96
97
98
99
100
101
102
103
104
105
106
107
# File 'proto_docs/google/cloud/run/v2/build.rb', line 95

class BuildpacksBuild
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class EnvironmentVariablesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#runtime::String

Deprecated.

This field is deprecated and may be removed in the next major version update.

Returns The runtime name, e.g. 'go113'. Leave blank for generic builds.

Returns:

  • (::String)

    The runtime name, e.g. 'go113'. Leave blank for generic builds.



95
96
97
98
99
100
101
102
103
104
105
106
107
# File 'proto_docs/google/cloud/run/v2/build.rb', line 95

class BuildpacksBuild
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class EnvironmentVariablesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end