Reference documentation and code samples for the Cloud Run V2 API class Google::Cloud::Run::V2::BuildConfig.
Describes the Build step of the function that builds a container from the given source.
Inherits
- Object
 
Extended By
- Google::Protobuf::MessageExts::ClassMethods
 
Includes
- Google::Protobuf::MessageExts
 
Methods
#base_image
def base_image() -> ::String Returns 
 - (::String) — Optional. The base image used to build the function.
 
#base_image=
def base_image=(value) -> ::String Parameter 
 - value (::String) — Optional. The base image used to build the function.
 
 Returns 
 - (::String) — Optional. The base image used to build the function.
 
#enable_automatic_updates
def enable_automatic_updates() -> ::Boolean Returns 
 - (::Boolean) — Optional. Sets whether the function will receive automatic base image updates.
 
#enable_automatic_updates=
def enable_automatic_updates=(value) -> ::Boolean Parameter 
 - value (::Boolean) — Optional. Sets whether the function will receive automatic base image updates.
 
 Returns 
 - (::Boolean) — Optional. Sets whether the function will receive automatic base image updates.
 
#environment_variables
def environment_variables() -> ::Google::Protobuf::Map{::String => ::String} Returns 
 - (::Google::Protobuf::Map{::String => ::String}) — Optional. User-provided build-time environment variables for the function
 
#environment_variables=
def environment_variables=(value) -> ::Google::Protobuf::Map{::String => ::String} Parameter 
 - value (::Google::Protobuf::Map{::String => ::String}) — 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
 
#function_target
def function_target() -> ::String 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".
 
#function_target=
def function_target=(value) -> ::String Parameter 
 - value (::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".
 
 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".
 
#image_uri
def image_uri() -> ::String Returns 
 - (::String) — Optional. Artifact Registry URI to store the built image.
 
#image_uri=
def image_uri=(value) -> ::String Parameter 
 - value (::String) — Optional. Artifact Registry URI to store the built image.
 
 Returns 
 - (::String) — Optional. Artifact Registry URI to store the built image.
 
#name
def name() -> ::String Returns 
 - (::String) — Output only. The Cloud Build name of the latest successful deployment of the function.
 
#service_account
def service_account() -> ::String Returns 
 -  (::String) — Optional. Service account to be used for building the container. The format of this field is 
projects/{projectId}/serviceAccounts/{serviceAccountEmail}. 
#service_account=
def service_account=(value) -> ::String Parameter 
 -  value (::String) — 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}. 
#source_location
def source_location() -> ::String Returns 
 - (::String) — The Cloud Storage bucket URI where the function source code is located.
 
#source_location=
def source_location=(value) -> ::String Parameter 
 - value (::String) — 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.
 
#worker_pool
def worker_pool() -> ::String 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. 
#worker_pool=
def worker_pool=(value) -> ::String Parameter 
 -  value (::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. 
 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.