Class: Google::Cloud::Deploy::V1::ExecutionConfig

Inherits:
Object
  • Object
show all
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

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.

Returns:

  • (::String)

    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.



896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 896

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.

Returns:



896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 896

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.

Returns:

  • (::Google::Protobuf::Duration)

    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.



896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 896

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.

Returns:



896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 896

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 ([email protected]) is used.

Returns:

  • (::String)

    Optional. Google service account to use for execution. If unspecified, the project execution service account ([email protected]) is used.



896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 896

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.

Returns:



896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 896

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.

Returns:

  • (::Boolean)

    Optional. If true, additional logging will be enabled when running builds in this execution environment.



896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 896

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.

Returns:

  • (::String)

    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.



896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 896

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