Class: Google::Cloud::Run::V2::BuildConfig

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

Overview

Describes the Build step of the function that builds a container from the given source.

Defined Under Namespace

Classes: EnvironmentVariablesEntry

Instance Attribute Summary collapse

Instance Attribute Details

#base_image::String

Returns Optional. The base image used to build the function.

Returns:

  • (::String)

    Optional. The base image used to build the function.



225
226
227
228
229
230
231
232
233
234
235
236
237
# File 'proto_docs/google/cloud/run/v2/vendor_settings.rb', line 225

class BuildConfig
  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. Sets whether the function will receive automatic base image updates.

Returns:

  • (::Boolean)

    Optional. Sets whether the function will receive automatic base image updates.



225
226
227
228
229
230
231
232
233
234
235
236
237
# File 'proto_docs/google/cloud/run/v2/vendor_settings.rb', line 225

class BuildConfig
  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 for the function.

Returns:

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

    Optional. User-provided build-time environment variables for the function



225
226
227
228
229
230
231
232
233
234
235
236
237
# File 'proto_docs/google/cloud/run/v2/vendor_settings.rb', line 225

class BuildConfig
  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. The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function".

Returns:

  • (::String)

    Optional. The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function".



225
226
227
228
229
230
231
232
233
234
235
236
237
# File 'proto_docs/google/cloud/run/v2/vendor_settings.rb', line 225

class BuildConfig
  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

#image_uri::String

Returns Optional. Artifact Registry URI to store the built image.

Returns:

  • (::String)

    Optional. Artifact Registry URI to store the built image.



225
226
227
228
229
230
231
232
233
234
235
236
237
# File 'proto_docs/google/cloud/run/v2/vendor_settings.rb', line 225

class BuildConfig
  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

#name::String (readonly)

Returns Output only. The Cloud Build name of the latest successful deployment of the function.

Returns:

  • (::String)

    Output only. The Cloud Build name of the latest successful deployment of the function.



225
226
227
228
229
230
231
232
233
234
235
236
237
# File 'proto_docs/google/cloud/run/v2/vendor_settings.rb', line 225

class BuildConfig
  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

#service_account::String

Returns Optional. Service account to be used for building the container. The format of this field is projects/{projectId}/serviceAccounts/{serviceAccountEmail}.

Returns:

  • (::String)

    Optional. Service account to be used for building the container. The format of this field is projects/{projectId}/serviceAccounts/{serviceAccountEmail}.



225
226
227
228
229
230
231
232
233
234
235
236
237
# File 'proto_docs/google/cloud/run/v2/vendor_settings.rb', line 225

class BuildConfig
  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

#source_location::String

Returns The Cloud Storage bucket URI where the function source code is located.

Returns:

  • (::String)

    The Cloud Storage bucket URI where the function source code is located.



225
226
227
228
229
230
231
232
233
234
235
236
237
# File 'proto_docs/google/cloud/run/v2/vendor_settings.rb', line 225

class BuildConfig
  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

#worker_pool::String

Returns Optional. Name of the Cloud Build Custom Worker Pool that should be used to build the Cloud Run function. The format of this field is projects/{project}/locations/{region}/workerPools/{workerPool} where {project} and {region} are the project id and region respectively where the worker pool is defined and {workerPool} is the short name of the worker pool.

Returns:

  • (::String)

    Optional. Name of the Cloud Build Custom Worker Pool that should be used to build the Cloud Run function. The format of this field is projects/{project}/locations/{region}/workerPools/{workerPool} where {project} and {region} are the project id and region respectively where the worker pool is defined and {workerPool} is the short name of the worker pool.



225
226
227
228
229
230
231
232
233
234
235
236
237
# File 'proto_docs/google/cloud/run/v2/vendor_settings.rb', line 225

class BuildConfig
  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