Class: Google::Cloud::Deploy::V1::ExecutionConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Deploy::V1::ExecutionConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/deploy/v1/cloud_deploy.rb
Overview
Configuration of the environment to use when calling Skaffold.
Defined Under Namespace
Modules: ExecutionEnvironmentUsage
Instance Attribute Summary collapse
-
#artifact_storage ⇒ ::String
Optional.
-
#default_pool ⇒ ::Google::Cloud::Deploy::V1::DefaultPool
Optional.
-
#execution_timeout ⇒ ::Google::Protobuf::Duration
Optional.
-
#private_pool ⇒ ::Google::Cloud::Deploy::V1::PrivatePool
Optional.
-
#service_account ⇒ ::String
Optional.
-
#usages ⇒ ::Array<::Google::Cloud::Deploy::V1::ExecutionConfig::ExecutionEnvironmentUsage>
Required.
-
#verbose ⇒ ::Boolean
Optional.
-
#worker_pool ⇒ ::String
Optional.
Instance Attribute Details
#artifact_storage ⇒ ::String
Returns Optional. Cloud Storage location in which to store execution outputs. This can either be a bucket ("gs://my-bucket") or a path within a bucket ("gs://my-bucket/my-dir"). If unspecified, a default bucket located in the same region will be used.
851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 851 class ExecutionConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible usages of this configuration. module ExecutionEnvironmentUsage # Default value. This value is unused. EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED = 0 # Use for rendering. RENDER = 1 # Use for deploying and deployment hooks. DEPLOY = 2 # Use for deployment verification. VERIFY = 3 # Use for predeploy job execution. PREDEPLOY = 4 # Use for postdeploy job execution. POSTDEPLOY = 5 end end |
#default_pool ⇒ ::Google::Cloud::Deploy::V1::DefaultPool
Returns Optional. Use default Cloud Build pool.
851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 851 class ExecutionConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible usages of this configuration. module ExecutionEnvironmentUsage # Default value. This value is unused. EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED = 0 # Use for rendering. RENDER = 1 # Use for deploying and deployment hooks. DEPLOY = 2 # Use for deployment verification. VERIFY = 3 # Use for predeploy job execution. PREDEPLOY = 4 # Use for postdeploy job execution. POSTDEPLOY = 5 end end |
#execution_timeout ⇒ ::Google::Protobuf::Duration
Returns Optional. Execution timeout for a Cloud Build Execution. This must be between 10m and 24h in seconds format. If unspecified, a default timeout of 1h is used.
851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 851 class ExecutionConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible usages of this configuration. module ExecutionEnvironmentUsage # Default value. This value is unused. EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED = 0 # Use for rendering. RENDER = 1 # Use for deploying and deployment hooks. DEPLOY = 2 # Use for deployment verification. VERIFY = 3 # Use for predeploy job execution. PREDEPLOY = 4 # Use for postdeploy job execution. POSTDEPLOY = 5 end end |
#private_pool ⇒ ::Google::Cloud::Deploy::V1::PrivatePool
Returns Optional. Use private Cloud Build pool.
851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 851 class ExecutionConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible usages of this configuration. module ExecutionEnvironmentUsage # Default value. This value is unused. EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED = 0 # Use for rendering. RENDER = 1 # Use for deploying and deployment hooks. DEPLOY = 2 # Use for deployment verification. VERIFY = 3 # Use for predeploy job execution. PREDEPLOY = 4 # Use for postdeploy job execution. POSTDEPLOY = 5 end end |
#service_account ⇒ ::String
Returns Optional. Google service account to use for execution. If unspecified,
the project execution service account
(
851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 851 class ExecutionConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible usages of this configuration. module ExecutionEnvironmentUsage # Default value. This value is unused. EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED = 0 # Use for rendering. RENDER = 1 # Use for deploying and deployment hooks. DEPLOY = 2 # Use for deployment verification. VERIFY = 3 # Use for predeploy job execution. PREDEPLOY = 4 # Use for postdeploy job execution. POSTDEPLOY = 5 end end |
#usages ⇒ ::Array<::Google::Cloud::Deploy::V1::ExecutionConfig::ExecutionEnvironmentUsage>
Returns Required. Usages when this configuration should be applied.
851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 851 class ExecutionConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible usages of this configuration. module ExecutionEnvironmentUsage # Default value. This value is unused. EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED = 0 # Use for rendering. RENDER = 1 # Use for deploying and deployment hooks. DEPLOY = 2 # Use for deployment verification. VERIFY = 3 # Use for predeploy job execution. PREDEPLOY = 4 # Use for postdeploy job execution. POSTDEPLOY = 5 end end |
#verbose ⇒ ::Boolean
Returns Optional. If true, additional logging will be enabled when running builds in this execution environment.
851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 851 class ExecutionConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible usages of this configuration. module ExecutionEnvironmentUsage # Default value. This value is unused. EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED = 0 # Use for rendering. RENDER = 1 # Use for deploying and deployment hooks. DEPLOY = 2 # Use for deployment verification. VERIFY = 3 # Use for predeploy job execution. PREDEPLOY = 4 # Use for postdeploy job execution. POSTDEPLOY = 5 end end |
#worker_pool ⇒ ::String
Returns Optional. The resource name of the WorkerPool
, with the format
projects/{project}/locations/{location}/workerPools/{worker_pool}
.
If this optional field is unspecified, the default Cloud Build pool will be
used.
851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 851 class ExecutionConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible usages of this configuration. module ExecutionEnvironmentUsage # Default value. This value is unused. EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED = 0 # Use for rendering. RENDER = 1 # Use for deploying and deployment hooks. DEPLOY = 2 # Use for deployment verification. VERIFY = 3 # Use for predeploy job execution. PREDEPLOY = 4 # Use for postdeploy job execution. POSTDEPLOY = 5 end end |